소스 검색

core: make WorldEntity rotation a quaternion.

legacy
Sam Hocevar sam 13 년 전
부모
커밋
032b7ed47d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      src/worldentity.cpp
  2. +1
    -1
      src/worldentity.h

+ 1
- 1
src/worldentity.cpp 파일 보기

@@ -26,7 +26,7 @@ namespace lol
WorldEntity::WorldEntity()
{
m_position = vec3(0);
m_rotation = vec3(0);
m_rotation = quat(1);
m_velocity = vec3(0);
m_bbox[0] = m_bbox[1] = vec3(0);



+ 1
- 1
src/worldentity.h 파일 보기

@@ -25,8 +25,8 @@ class WorldEntity : public Entity
{
public:
vec3 m_position;
vec3 m_rotation;
vec3 m_velocity;
quat m_rotation;
vec3 m_bbox[2];

ivec2 m_mousepos;


불러오는 중...
취소
저장