Stores the result of an intersection between a plane and a ray.
More...
#include <kanzi/core/math/plane.hpp>
Stores the result of an intersection between a plane and a ray.
◆ PlaneRayIntersection() [1/2]
kanzi::PlaneRayIntersection::PlaneRayIntersection |
( |
| ) |
|
|
inline |
Default constructor.
distance=0.0f and intersectionPoint=(0,0,0).
◆ PlaneRayIntersection() [2/2]
kanzi::PlaneRayIntersection::PlaneRayIntersection |
( |
float |
dist, |
|
|
Vector3 |
point |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
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. |
◆ distance
float kanzi::PlaneRayIntersection::distance |
The distance between the point of intersection and the origin of a ray.
◆ intersectionPoint
Vector3 kanzi::PlaneRayIntersection::intersectionPoint |
The point of intersection between a ray and a plane.
The documentation for this struct was generated from the following file: