nw::gfx::SceneHelper::CalculateDepth Member Function
static float CalculateDepth(
const math::VEC3 & localPosition,
const math::MTX34 & worldMatrix,
const Camera & camera
);
| Name | Description | |
|---|---|---|
localPosition |
||
worldMatrix |
||
| camera |
Calculates the depth in clip coordinates.
CONFIDENTIAL