clip_segment_to_near_plane
OverlayWorldSegment clip_segment_to_near_plane(const Matrix4 &view_projection, const Vector3 &from, const Vector3 &to, Scalar minimum_w) noexceptParameters
| Name | Type |
|---|---|
view_projection | const Matrix4 & |
from | const Vector3 & |
to | const Vector3 & |
minimum_w | Scalar |
Returns
OverlayWorldSegment
The surviving segment, or one marked not visible when neither end is in front.
Description
Trims a segment to the part in front of the near plane.
See also
engine/foundation/core/include/README.md

