*******************************************************************************/
-#include <Moof/Camera.hh>
-#include <Moof/OpenGL.hh>
-#include <Moof/Sphere.hh>
+#include "Frustum.hh"
+#include "OpenGL.hh"
+#include "Sphere.hh"
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
+bool Sphere::isVisible(const Frustum& frustum) const
{
- return cam.getFrustum().containsSphere(*this);
+ return frustum.contains(*this);
}