This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Small WorldEntity tweaks.
legacy
Benjamin ‘Touky’ Huet
touky
12 years ago
parent
a031bad19c
commit
cfbacb625f
2 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/worldentity.cpp
+1
-0
src/worldentity.h
+ 1
- 0
src/worldentity.cpp
View File
@@ -28,6 +28,7 @@ WorldEntity::WorldEntity()
m_position = vec3(0);
m_position = vec3(0);
m_rotation = quat(1);
m_rotation = quat(1);
m_velocity = vec3(0);
m_velocity = vec3(0);
m_rotation_velocity = vec3(0);
m_bbox[0] = m_bbox[1] = vec3(0);
m_bbox[0] = m_bbox[1] = vec3(0);
m_mousepos = ivec2(0);
m_mousepos = ivec2(0);
+ 1
- 0
src/worldentity.h
View File
@@ -27,6 +27,7 @@ public:
vec3 m_position;
vec3 m_position;
vec3 m_velocity;
vec3 m_velocity;
quat m_rotation;
quat m_rotation;
vec3 m_rotation_velocity;
vec3 m_bbox[2];
vec3 m_bbox[2];
ivec2 m_mousepos;
ivec2 m_mousepos;
Write
Preview
Loading…
Cancel
Save