Stores the result of an intersection between a plane and a ray. More...
#include <kanzi/core/math/plane.hpp>
Public Member Functions | |
| PlaneRayIntersection () | |
| Default constructor. | |
| PlaneRayIntersection (float dist, Vector3 point) | |
| Constructor. | |
Public Attributes | |
| float | distance |
| The distance between the point of intersection and the origin of a ray. | |
| Vector3 | intersectionPoint |
| The point of intersection between a ray and a plane. | |
Stores the result of an intersection between a plane and a ray.
|
inline |
Default constructor.
distance=0.0f and intersectionPoint=(0,0,0).
Constructor.
| dist | The distance between the point of intersection and the origin of a ray. |
| point | The Point of intersection between a ray and a plane. |
| float kanzi::PlaneRayIntersection::distance |
The distance between the point of intersection and the origin of a ray.
| Vector3 kanzi::PlaneRayIntersection::intersectionPoint |
The point of intersection between a ray and a plane.