X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FSphere.cc;h=d8d089dec0adb0b28235b4ab0449132def0183d0;hp=352d58d503b419ec5cb7d77b5d0e9e30f0047f98;hb=fe9614821670d9affcb68fb3e45723b9d40d0b7e;hpb=72d4af22710317acffab861421c4364b1780b6fe diff --git a/src/Moof/Sphere.cc b/src/Moof/Sphere.cc index 352d58d..d8d089d 100644 --- a/src/Moof/Sphere.cc +++ b/src/Moof/Sphere.cc @@ -26,9 +26,9 @@ *******************************************************************************/ -#include -#include -#include +#include "Camera.hh" +#include "OpenGL.hh" +#include "Sphere.hh" namespace Mf { @@ -36,16 +36,17 @@ namespace Mf { void Sphere::encloseVertices(const Vector3 vertices[], unsigned count) { + // TODO } void Sphere::draw(Scalar alpha) const { - + // TODO } bool Sphere::isVisible(const Camera& cam) const { - return cam.getFrustum().containsSphere(*this); + return cam.getFrustum().contains(*this); }