The result of a ray intersection test.
Name | Description |
---|---|
GetIsFrontFacing() | Is the intersection on the front-face of the triangle? |
GetIsIntersection() | Checks if there was an intersection. |
GetIsPointOccluded(const Rayf &, const Geo::v128 &) | Checks if the given point is behind the intersection of the given ray. |
GetRayIntersection(const Rayf &) | Gets the point of intersection. |
GetRayIntersectionDistance(const Rayf &) | Gets the distance along the ray at the intersection. |
GetTriangleIdx() | Gets the index of the intersected triangle. If this is negative nothing was intersected. |
GetTValue() | Gets the t-value along the ray at the intersection point. |
public: bool GetIsFrontFacing() const
Is the intersection on the front-face of the triangle?
public: bool GetIsIntersection() const
Checks if there was an intersection.
public: bool GetIsPointOccluded
(
const Rayf & ray,
const Geo::v128 & point
) const
Checks if the given point is behind the intersection of the given ray.
public: Geo::v128 GetRayIntersection
(
const Rayf & ray
) const
Gets the point of intersection.
public: float GetRayIntersectionDistance
(
const Rayf & ray
) const
Gets the distance along the ray at the intersection.
public: Geo::s32 GetTriangleIdx() const
Gets the index of the intersected triangle. If this is negative nothing was intersected.
public: float GetTValue() const
Gets the t-value along the ray at the intersection point.