diff options
author | Ian C <ianc@noddybox.co.uk> | 2010-08-19 13:24:37 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2010-08-19 13:24:37 +0000 |
commit | af34bad8b39e95276b0d4e08ccdc26f89df2d2ec (patch) | |
tree | 427e06fe813cd847f96e12ff612d245b2da970c5 /mass.h | |
parent | 19bbd5822593c7198dd54eb0f5d38fa1ed8d8fb7 (diff) |
Updates to maths and added the use of a 3D vector.
Diffstat (limited to 'mass.h')
-rw-r--r-- | mass.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,6 +28,7 @@ #define MASS_H #include "global.h" +#include "vec3d.h" class Mass { @@ -100,7 +101,7 @@ private: double m_scale; double m_x,m_y,m_z; double m_prevx,m_prevy,m_prevz; - double m_dx,m_dy,m_dz; + Vec3D m_delta; GLfloat m_r,m_g,m_b; bool m_massless; |