Skip to main content

ground_reflection_matrix

Function ground_reflection_matrix 

Source
pub fn ground_reflection_matrix(height: f32) -> Mat4
Expand description

Computes a reflection matrix for a horizontal ground plane at given height.

Assumes Y-up coordinate system.