Public Member Functions |
| Scene () |
virtual | ~Scene () |
bool | areColliding (::rl::sg::Body *first,::rl::sg::Body *second) |
bool | areColliding (::rl::sg::Shape *first,::rl::sg::Shape *second) |
::rl::sg::Model * | create () |
::rl::math::Real | distance (::rl::sg::Shape *first,::rl::sg::Shape *second,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2) |
::rl::math::Real | distance (::rl::sg::Shape *shape, const ::rl::math::Vector3 &point,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2) |
bool | isColliding () |
::rl::sg::Shape * | raycast (const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target,::rl::math::Real &distance) |
bool | raycast (::rl::sg::Shape *shape, const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target,::rl::math::Real &distance) |
void | setMargin (const ::rl::math::Real &margin) |
| DistanceScene () |
virtual | ~DistanceScene () |
virtual ::rl::math::Real | distance (const ::rl::math::Vector3 &point,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2) |
virtual ::rl::math::Real | distance (Body *first, Body *second,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2) |
virtual ::rl::math::Real | distance (Body *body, const ::rl::math::Vector3 &point,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2) |
virtual ::rl::math::Real | distance (Model *first, Model *second,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2) |
virtual ::rl::math::Real | distance (Model *model, const ::rl::math::Vector3 &point,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2) |
virtual ::rl::math::Real | distance (Shape *first, Shape *second,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2)=0 |
virtual ::rl::math::Real | distance (Shape *shape, const ::rl::math::Vector3 &point,::rl::math::Vector3 &point1,::rl::math::Vector3 &point2)=0 |
virtual void | add (Model *model) |
Iterator | begin () |
Iterator | end () |
Model * | getModel (const ::std::size_t &i) const |
virtual ::std::string | getName () const |
::std::size_t | getNumModels () const |
void | load (const ::std::string &filename, const bool &doBoundingBoxPoints=false, const bool &doPoints=false) |
virtual void | remove (Model *model) |
virtual void | setName (const ::std::string &name) |
| RaycastScene () |
virtual | ~RaycastScene () |
virtual bool | raycast (Shape *shape, const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target,::rl::math::Real &distance)=0 |
| SimpleScene () |
virtual | ~SimpleScene () |
virtual bool | areColliding (Body *first, Body *second) |
virtual bool | areColliding (Model *first, Model *second) |
virtual bool | areColliding (Shape *first, Shape *second)=0 |