report actual number of instances (enable sync transforms for physics server)

This commit is contained in:
Erwin Coumans 2017-03-27 23:09:24 -07:00
parent b9642e8e68
commit 46c5b00964

View File

@ -134,7 +134,7 @@ void SimpleOpenGL2Renderer::writeSingleInstanceScaleToCPU(double* scale, int src
int SimpleOpenGL2Renderer::getTotalNumInstances() const
{
return 0;
return m_data->m_graphicsInstances.size();
}
void SimpleOpenGL2Renderer::getCameraViewMatrix(float viewMat[16]) const