浏览代码

Seems like default values in constructor generates Warning on Chrome.

legacy
Benjamin ‘Touky’ Huet touky 12 年前
父节点
当前提交
e314c12ebe
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      test/Physics/Src/EasyPhysics.cpp

+ 3
- 2
test/Physics/Src/EasyPhysics.cpp 查看文件

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


正在加载...
取消
保存