From 8ac9b27f5f0a1e833974058464cdf7029c9d7e0b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 2 Feb 2008 14:14:15 +0000 Subject: removed libgl --- src/gl/box.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/gl/box.h (limited to 'src/gl/box.h') 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__ - -- cgit v1.2.3