27 lines
473 B
C++
27 lines
473 B
C++
|
|
/*
|
|
* Author: Josh Holtrop
|
|
* DornerWorks screensaver
|
|
* The LogoBox class
|
|
*/
|
|
|
|
#ifndef LOGOBOX_H
|
|
#define LOGOBOX_H
|
|
|
|
#include <GL/gl.h>
|
|
|
|
class LogoBox
|
|
{
|
|
public:
|
|
LogoBox();
|
|
void draw() { glCallList(m_drawList); }
|
|
float getWidth() const { return m_width; }
|
|
float getDepth() const { return m_depth; }
|
|
float getHeight() const { return m_height; }
|
|
protected:
|
|
GLuint m_drawList;
|
|
float m_width, m_depth, m_height;
|
|
};
|
|
|
|
#endif
|