dwscr/ss/LogoBox.h
josh 68d41e9c63 moved files to trunk directory
git-svn-id: svn://anubis/dwscr/trunk@83 5bef9df8-b654-44bb-925b-0ff18baa8f8c
2008-09-22 17:27:40 +00:00

32 lines
568 B
C++

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