I have mesh and would like to generate vertex colors for the mesh, but have found no solutions, atleast for C++. The mesh looks like this:
//Vector3F is float[3], Vector2F is float[2] and Triangle is unsigned short[3]
class Mesh{
Vector3F* positions;
Vector3F* normals;
Vector2F* uvMap1;
Triangle* triangles;
unsigned int numVertex
unsigned int numTriangles;
};


