float getRadius() const
Definition: Sphere.h:37
Sphere(const Vec3f &aCenter, float aRadius)
Definition: Sphere.h:35
float mRadius
Definition: Sphere.h:50
const void setCenter(const Vec3f ¢er)
Definition: Sphere.h:41
const Vec3f & getCenter() const
Definition: Sphere.h:40
static Sphere calculateBoundingSphere(const std::vector< Vec3f > &points)
Definition: Sphere.cpp:91
void setRadius(float radius)
Definition: Sphere.h:38
Vec3f mCenter
Definition: Sphere.h:49
int intersect(const Ray &ray, float *intersection)
Definition: Sphere.cpp:59
GLsizei const GLfloat * points
Definition: GLee.h:6298
Sphere()
Definition: Sphere.h:34
bool intersects(const Ray &ray)
Definition: Sphere.cpp:29