Fix attempt for crash.

This commit is contained in:
Vincent Lejeune 2014-08-25 00:37:36 +02:00
parent 0fa38161b5
commit aa6e3570df

View File

@ -40,7 +40,7 @@ public:
virtual void render();
void addInstance(const core::vector3df &origin, const core::vector3df &orientation, const core::vector3df &scale);
int getInstanceCount() const { return instanceData.size(); }
int getInstanceCount() const { return instanceData[0].size(); }
core::matrix4 getInstanceTransform(int id);