Function caper::utils::build_persp_proj_mat [] [src]

pub fn build_persp_proj_mat(
    fov: f32,
    aspect: f32,
    znear: f32,
    zfar: f32
) -> Matrix4

Returns perspective projection matrix given fov, aspect ratio, z near and far