From af34bad8b39e95276b0d4e08ccdc26f89df2d2ec Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 19 Aug 2010 13:24:37 +0000 Subject: Updates to maths and added the use of a 3D vector. --- mass.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mass.h') 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; -- cgit v1.2.3