fix compile issue(s) in BT_USE_DOUBLE_PRECISION mode

This commit is contained in:
Erwin Coumans
2016-05-26 18:21:57 -07:00
parent 0d50d8c73b
commit 098e0158ea
3 changed files with 5 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ struct TinyRendererGUIHelper : public GUIHelperInterface
clearBuffers(clearColor);
ATTRIBUTE_ALIGNED16(float modelMat[16]);
ATTRIBUTE_ALIGNED16(btScalar modelMat[16]);
ATTRIBUTE_ALIGNED16(float viewMat[16]);
ATTRIBUTE_ALIGNED16(float projMat[16]);
@@ -178,7 +178,7 @@ struct TinyRendererGUIHelper : public GUIHelperInterface
m_camera.getCameraViewMatrix(viewMat);
btVector3 lightDirWorld(-5,200,-40);
switch (1)//app->getUpAxis())
switch (m_upAxis)
{
case 1:
lightDirWorld = btVector3(-50.f,100,30);