Browse Source

Seems like default values in constructor generates Warning on Chrome.

legacy
Benjamin ‘Touky’ Huet touky 12 years ago
parent
commit
e314c12ebe
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      test/Physics/Src/EasyPhysics.cpp

+ 3
- 2
test/Physics/Src/EasyPhysics.cpp View File

@@ -31,12 +31,13 @@ namespace phys

EasyPhysic::EasyPhysic() :
m_collision_object(NULL),
m_rigid_body(NULL),
m_ghost_object(NULL),
m_rigid_body(NULL),
m_local_inertia(btVector3(.0f, .0f, .0f)),
m_collision_shape(NULL),
m_convex_shape(NULL),
m_motion_state(NULL),
m_mass(.0f),
m_local_inertia(btVector3(.0f, .0f, .0f)),
m_collision_group(1),
m_collision_mask(1)
{


Loading…
Cancel
Save