]> Dogcows Code - chaz/yoink/blobdiff - src/moof/sphere.cc
need the configure script
[chaz/yoink] / src / moof / sphere.cc
diff --git a/src/moof/sphere.cc b/src/moof/sphere.cc
deleted file mode 100644 (file)
index 843f918..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-
-/*]  Copyright (c) 2009-2010, Charles McGarvey  [**************************
-**]  All rights reserved.
-*
-* vi:ts=4 sw=4 tw=75
-*
-* Distributable under the terms and conditions of the 2-clause BSD license;
-* see the file COPYING for a complete text of the license.
-*
-**************************************************************************/
-
-#include "frustum.hh"
-#include "opengl.hh"
-#include "sphere.hh"
-
-
-namespace moof {
-
-
-void sphere::enclose_vertices(const vector3 vertices[], unsigned count)
-{
-       // TODO
-}
-
-void sphere::draw(scalar alpha) const
-{
-       GLUquadricObj* sphereObj = gluNewQuadric();
-       gluQuadricDrawStyle(sphereObj, GLU_LINE);
-
-       glPushMatrix();
-
-       //glTranslate(point[0], point[1], point[2]);
-       glTranslate(point);
-       gluSphere(sphereObj, (GLdouble)radius, 16, 16);
-
-       glPopMatrix();
-
-       gluDeleteQuadric(sphereObj);
-}
-
-bool sphere::is_visible(const frustum& frustum) const
-{
-       return frustum.contains(*this);
-}
-
-
-} // namespace moof
-
This page took 0.024313 seconds and 4 git commands to generate.