fix rendering of rays in Benchmark demo when using BT_USE_DOUBLE_PRECISION

This commit is contained in:
erwincoumans
2017-01-30 18:51:19 -08:00
parent 72dd8285e8
commit 690bd4f265

View File

@@ -320,7 +320,7 @@ public:
indices.push_back(indices.size());
}
m_guiHelper->getRenderInterface()->drawLines(&points[0].m_floats[0],lineColor,points.size(),sizeof(btVector3),&indices[0],indices.size(),1);
m_guiHelper->getRenderInterface()->drawLines(&points[0].m_floats[0],lineColor,points.size(),sizeof(btVector3FloatData),&indices[0],indices.size(),1);
}
#if 0