fix BT_USE_DOUBLE_PRECISION build, address Issue 177

https://github.com/bulletphysics/bullet3/issues/177
This commit is contained in:
Erwin Coumans
2014-05-19 14:53:11 -07:00
parent 2601932249
commit 3dd759c463
6 changed files with 66 additions and 18 deletions

View File

@@ -15,8 +15,11 @@ public:
{
}
virtual void drawLine(const btVector3& from,const btVector3& to,const btVector3& color)
virtual void drawLine(const btVector3& from1,const btVector3& to1,const btVector3& color1)
{
float from[4] = {from1[0],from1[1],from1[2],from1[3]};
float to[4] = {to1[0],to1[1],to1[2],to1[3]};
float color[4] = {color1[0],color1[1],color1[2],color1[3]};
m_glApp->m_instancingRenderer->drawLine(from,to,color);
}