diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-02 14:14:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-02 14:14:15 +0000 |
commit | 8ac9b27f5f0a1e833974058464cdf7029c9d7e0b (patch) | |
tree | d617b1f1662110f7628c1db2a97646a58d2046cb /src/gl/box.h | |
parent | e55d61fcaf314cf6f9582e6ac5ae7f1a757887d1 (diff) |
removed libgl
Diffstat (limited to 'src/gl/box.h')
-rw-r--r-- | src/gl/box.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/gl/box.h b/src/gl/box.h deleted file mode 100644 index ce4a650..0000000 --- a/src/gl/box.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - gl/box.h - This file is part of the Osirion project and is distributed under - the terms of the GNU General Public License version 2 -*/ - -#ifndef __INCLUDED_GL_BOX_H__ -#define __INCLUDED_GL_BOX_H__ - -#include "gl/gllib.h" -#include "math/mathlib.h" - -namespace gl { - -/// a drawable OpenGL block shape -class Box -{ -public: - /// create a new standard cube with edge length 1 - Box(math::Vector3f const & tl, math::Vector3f const &br); - /// copy constructor - Box(const Box &other); - - /// assignment operator - Box& operator=(const Box &other); - - /// top left vertex (1,1,1) - math::Vector3f topleft; - /// bottom right vertex (-1,-1,-1) - math::Vector3f bottomright; - - /// draw the block - void draw(); - - /// Top color - math::Color topcolor; - /// bottom color - math::Color bottomcolor; -}; - -} // namespace gl - -#endif // __INCLUDED_GL_BOX_H__ - |