summaryrefslogtreecommitdiff
path: root/mass.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2010-08-19 13:24:37 +0000
committerIan C <ianc@noddybox.co.uk>2010-08-19 13:24:37 +0000
commitaf34bad8b39e95276b0d4e08ccdc26f89df2d2ec (patch)
tree427e06fe813cd847f96e12ff612d245b2da970c5 /mass.h
parent19bbd5822593c7198dd54eb0f5d38fa1ed8d8fb7 (diff)
Updates to maths and added the use of a 3D vector.
Diffstat (limited to 'mass.h')
-rw-r--r--mass.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mass.h b/mass.h
index 9c58660..778a0b4 100644
--- a/mass.h
+++ b/mass.h
@@ -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;