SphereF

Engine/source/math/mSphere.h

More...

Public Attributes

Public Functions

SphereF(const Point3F & in_rPosition, const F32 in_rRadius)
bool
bool
isContained(const Point3F & in_rContain)
bool
isContained(const SphereF & in_rContain)
bool
isIntersecting(const SphereF & in_rIntersect)

Detailed Description

Public Attributes

Point3F center 
F32 radius 

Public Functions

SphereF()

SphereF(const Point3F & in_rPosition, const F32 in_rRadius)

distanceTo(const Point3F & pt)

intersectsRay(const Point3F & start, const Point3F & end)

isContained(const Point3F & in_rContain)

isContained(const SphereF & in_rContain)

isIntersecting(const SphereF & in_rIntersect)

squareDistanceTo(const Point3F & pt)