Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl/box.h')
-rw-r--r--src/gl/box.h44
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__
-