266 if(invert) direction = direction * -1;
275 if(invert) direction = direction * -1;
285 if(invert) direction = direction * -1;
334 glDisable(GL_LIGHTING);
336 glColor3f(1.0, 0.0, 0.0);
337 glVertex3f(-1000000, 0.0, 0.0);
339 glVertex3f(+1000000, 0.0, 0.0);
341 glColor3f(0.0, 1.0, 0.0);
342 glVertex3f(0.0, -1000000, 0.0);
344 glVertex3f(0.0, +1000000, 0.0);
346 glColor3f(0.0, 0.0, 1.0);
347 glVertex3f(0.0, 0.0, -100000);
349 glVertex3f(0.0, 0.0, +100000);
352 glEnable(GL_LIGHTING);
Normal< typename Vec::CoordType > m_z_Axis
A 4x4 matrix class implementation for use with the provided vertex types.
Normal< typename Vec::CoordType > m_xAxis
void strafe(bool invert=0)
A dynamic bounding box class.
void set(int i, ValueType value)
Sets the given index of the Matrix's data field to the provided value.
void pitch(bool invert=0)
void fromAxis(ValueType *vec, ValueType angle)
void accel(bool invert=0)
void setTransformationMatrix(Matrix4< Vec > m)
BoundingBox< Vec > * m_boundingBox
Matrix4< Vec > m_transformation
Normal< typename Vec::CoordType > m_yAxis