Drawing array of colored triangles
I’m new in 3D graphics and don't know how to draw array of colored triangles. I have a class, that contains information about coordinates of vertices and triangle's color. Several colors change over time by calling appropriate method. How do I implement this functionality?
Thank you for your help in advance.