00001
00026 #ifndef ROTATIONABLE3D_H_
00027 #define ROTATIONABLE3D_H_
00028
00029 #include "Rotationable.h"
00030
00031 class CRotationable3D : public CRotationable<Rotation3D>{
00032 public:
00033 CRotationable3D();
00034 virtual ~CRotationable3D();
00035
00042 void setRotation( float rotX, float rotY, float rotZ){ m_rotation . rotX = rotX; m_rotation . rotY = rotY; m_rotation . rotZ = rotZ; };
00043
00048 bool isRotated(){ return m_rotation.rotX == 0 && m_rotation.rotY == 0 && m_rotation.rotZ == 0 ? false : true; };
00049
00050 };
00051
00052 #endif