Torque2D Reference
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SphereF Class Reference

#include <mSphere.h>

Public Member Functions

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

Public Attributes

Point3F center
 
F32 radius
 

Constructor & Destructor Documentation

◆ SphereF() [1/2]

SphereF ( )
inline

◆ SphereF() [2/2]

SphereF ( const Point3F in_rPosition,
const F32  in_rRadius 
)
inline

Member Function Documentation

◆ isContained() [1/2]

bool isContained ( const Point3F in_rContain) const
inline

◆ isContained() [2/2]

bool isContained ( const SphereF in_rContain) const
inline

◆ isIntersecting()

bool isIntersecting ( const SphereF in_rIntersect) const
inline

Member Data Documentation

◆ center

Point3F center

◆ radius

F32 radius

The documentation for this class was generated from the following file: