]> Dogcows Code - chaz/yoink/blobdiff - src/moof/sphere.cc
the massive refactoring effort
[chaz/yoink] / src / moof / sphere.cc
similarity index 71%
rename from src/Moof/Sphere.cc
rename to src/moof/sphere.cc
index 03db01208edaa2cf66c1b9ca307a9a3b3f411c92..843f918546b376118f0989be15089c12adcb1cc9 100644 (file)
@@ -9,20 +9,20 @@
 *
 **************************************************************************/
 
-#include "Frustum.hh"
-#include "OpenGL.hh"
-#include "Sphere.hh"
+#include "frustum.hh"
+#include "opengl.hh"
+#include "sphere.hh"
 
 
-namespace Mf {
+namespace moof {
 
 
-void Sphere::encloseVertices(const Vector3 vertices[], unsigned count)
+void sphere::enclose_vertices(const vector3 vertices[], unsigned count)
 {
        // TODO
 }
 
-void Sphere::draw(Scalar alpha) const
+void sphere::draw(scalar alpha) const
 {
        GLUquadricObj* sphereObj = gluNewQuadric();
        gluQuadricDrawStyle(sphereObj, GLU_LINE);
@@ -38,11 +38,11 @@ void Sphere::draw(Scalar alpha) const
        gluDeleteQuadric(sphereObj);
 }
 
-bool Sphere::isVisible(const Frustum& frustum) const
+bool sphere::is_visible(const frustum& frustum) const
 {
        return frustum.contains(*this);
 }
 
 
-} // namespace Mf
+} // namespace moof
 
This page took 0.019348 seconds and 4 git commands to generate.