瀏覽代碼

core: remove deprecated WorldEntity member variables.

undefined
Sam Hocevar 11 年之前
父節點
當前提交
428178bc39
共有 2 個檔案被更改,包括 0 行新增10 行删除
  1. +0
    -6
      src/worldentity.cpp
  2. +0
    -4
      src/worldentity.h

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

@@ -30,12 +30,6 @@ WorldEntity::WorldEntity()
m_velocity = vec3(0);
m_rotation_velocity = vec3(0);
m_bbox[0] = m_bbox[1] = vec3(0);

m_mousepos = ivec2(0);
m_mousebuttons = ivec3(0);
m_pressed = 0;
m_clicked = 0;
m_released = 0;
}

WorldEntity::~WorldEntity()


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

@@ -33,10 +33,6 @@ public:
vec3 m_rotation_velocity;
vec3 m_bbox[2];

ivec2 m_mousepos;
ivec3 m_mousebuttons;
uint32_t m_pressed, m_clicked, m_released;

protected:
WorldEntity();
virtual ~WorldEntity();


Loading…
取消
儲存