Ver código fonte

Seems like default values in constructor generates Warning on Chrome.

legacy
Benjamin ‘Touky’ Huet touky 12 anos atrás
pai
commit
e314c12ebe
1 arquivos alterados com 3 adições e 2 exclusões
  1. +3
    -2
      test/Physics/Src/EasyPhysics.cpp

+ 3
- 2
test/Physics/Src/EasyPhysics.cpp Ver arquivo

@@ -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)
{


Carregando…
Cancelar
Salvar