X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fsphere.cc;fp=src%2FMoof%2FSphere.cc;h=843f918546b376118f0989be15089c12adcb1cc9;hp=03db01208edaa2cf66c1b9ca307a9a3b3f411c92;hb=831f04d4bc19a390415ac0bbac4331c7a65509bc;hpb=299af4f2047e767e5d79501c26444473bda64c64 diff --git a/src/Moof/Sphere.cc b/src/moof/sphere.cc similarity index 71% rename from src/Moof/Sphere.cc rename to src/moof/sphere.cc index 03db012..843f918 100644 --- a/src/Moof/Sphere.cc +++ b/src/moof/sphere.cc @@ -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