瀏覽代碼

Small WorldEntity tweaks.

legacy
Benjamin ‘Touky’ Huet touky 12 年之前
父節點
當前提交
cfbacb625f
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. +1
    -0
      src/worldentity.cpp
  2. +1
    -0
      src/worldentity.h

+ 1
- 0
src/worldentity.cpp 查看文件

@@ -28,6 +28,7 @@ WorldEntity::WorldEntity()
m_position = vec3(0);
m_rotation = quat(1);
m_velocity = vec3(0);
m_rotation_velocity = vec3(0);
m_bbox[0] = m_bbox[1] = vec3(0);

m_mousepos = ivec2(0);


+ 1
- 0
src/worldentity.h 查看文件

@@ -27,6 +27,7 @@ public:
vec3 m_position;
vec3 m_velocity;
quat m_rotation;
vec3 m_rotation_velocity;
vec3 m_bbox[2];

ivec2 m_mousepos;


Loading…
取消
儲存