|
|
@@ -197,7 +197,7 @@ public:
|
|
|
* @param vertexStart The index of the starting vertex (0 by default).
|
|
|
* @param vertexCount The number of vertices to be set (default is 0, for all vertices).
|
|
|
*/
|
|
|
- void setVertexData(float* vertexData, unsigned int vertexStart = 0, unsigned int vertexCount = 0);
|
|
|
+ void setVertexData(const float* vertexData, unsigned int vertexStart = 0, unsigned int vertexCount = 0);
|
|
|
|
|
|
/**
|
|
|
* Creates and adds a new part of primitive data defining how the vertices are connected.
|