clip_space_w
Scalar clip_space_w(const Matrix4 &view_projection, const Vector3 &point) noexceptParameters
| Name | Type |
|---|---|
view_projection | const Matrix4 & |
point | const Vector3 & |
Returns
Scalar
The clip-space w; positive in front of the camera, negative behind it.
Description
Returns the homogeneous w a point projects with, its depth in front of the camera.
See also
engine/foundation/core/include/README.md

