Skip to main content

spot_light_clip_from_view

Function spot_light_clip_from_view 

Source
pub fn spot_light_clip_from_view(angle: f32, near_z: f32) -> Mat4
Expand description

Creates the projection matrix that transforms the light’s view space into the light’s clip space.