/* Author: Josh Holtrop * DornerWorks screensaver * The LogoBox class */ #ifndef LOGOBOX_H #define LOGOBOX_H #include #ifndef WITHOUT_ODE #include #endif class LogoBox { public: #ifndef WITHOUT_ODE LogoBox(dWorldID world = 0, dSpaceID space = 0); #else LogoBox(); #endif ~LogoBox(); void draw(); const float * const getAABB() const; float getWidth() const; float getHeight() const; float getDepth() const; #ifndef WITHOUT_ODE dBodyID getBody() { return m_body; } dGeomID getGeom() { return m_geom; } protected: dBodyID m_body; dGeomID m_geom; #endif }; #endif