|
| Ray (::Vector2 mousePosition, const ::Camera &camera) |
|
| Ray (::Vector3 position={0.0f, 0.0f, 0.0f}, ::Vector3 direction={0.0f, 0.0f, 0.0f}) |
|
| Ray (const ::Ray &ray) |
|
void | Draw (::Color color) const |
| Draw a ray line.
|
|
RayCollision | GetCollision (::Vector3 center, float radius) const |
| Get collision information between ray and sphere.
|
|
RayCollision | GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const |
| Get collision info between ray and triangle.
|
|
RayCollision | GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const |
| Get collision info between ray and quad.
|
|
RayCollision | GetCollision (const ::BoundingBox &box) const |
| Detect collision between ray and box.
|
|
RayCollision | GetCollision (const ::Mesh &mesh, const ::Matrix &transform) const |
| Get collision information between ray and mesh.
|
|
::Vector3 | GetDirection () const |
| Retrieves the direction value for the object. More...
|
|
::Vector3 | GetPosition () const |
| Retrieves the position value for the object. More...
|
|
Ray & | operator= (const ::Ray &ray) |
|
void | SetDirection (::Vector3 value) |
| Sets the direction value for the object. More...
|
|
void | SetPosition (::Vector3 value) |
| Sets the position value for the object. More...
|
|
Ray type (useful for raycast)
Definition at line 12 of file Ray.hpp.