Show All |
Public Member Functions
-
Sphere ()
-
Sphere (const vec3 ¢er, float radius)
-
floatgetRadius () const
-
voidsetRadius (float radius)
-
vec3getCenter () const
-
voidsetCenter (const vec3 ¢er)
-
boolintersects (const AxisAlignedBox &box) const
-
boolintersects (const Ray &ray) const
-
intintersect (const Ray &ray, float *intersection) const
-
intintersect (const Ray &ray, float *min, float *max) const