Fixed warnings in Bullet/src core library
Thanks Martijn Reuvers from Two Tribes B.V. (www.twotribes.com) for the patch To make this work more visible, suppress warnings in external libraries in Extras (COLLADA_DOM, libxml and glui contain many warnings) Added PreprocessorDefinitions: _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE to vcproj files
This commit is contained in:
@@ -153,7 +153,7 @@ void CharacterController::playerStep (btScalar dt,
|
||||
if (!forward && !backward && onGround())
|
||||
{
|
||||
/* Dampen when on the ground and not being moved by the player */
|
||||
linearVelocity *= 0.2;
|
||||
linearVelocity *= btScalar(0.2);
|
||||
m_rigidBody->setLinearVelocity (linearVelocity);
|
||||
} else {
|
||||
if (speed < m_maxLinearVelocity)
|
||||
|
||||
@@ -307,11 +307,8 @@ const float TRIANGLE_SIZE=20.f;
|
||||
//to be implemented by the demo
|
||||
void CharacterDemo::renderme()
|
||||
{
|
||||
|
||||
updateCamera();
|
||||
|
||||
btScalar m[16];
|
||||
int i;
|
||||
DemoApplication::renderme();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user