mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-19 06:43:26 +00:00
updated z range
This commit is contained in:
@@ -20,8 +20,9 @@ namespace omath::opengl_engine
|
||||
}
|
||||
Mat4X4 CameraTrait::calc_projection_matrix(const projection::FieldOfView& fov,
|
||||
const projection::ViewPort& view_port, const float near,
|
||||
const float far) noexcept
|
||||
const float far, const NDCDepthRange ndc_depth_range) noexcept
|
||||
{
|
||||
return calc_perspective_projection_matrix(fov.as_degrees(), view_port.aspect_ratio(), near, far);
|
||||
return calc_perspective_projection_matrix(fov.as_degrees(), view_port.aspect_ratio(), near, far,
|
||||
ndc_depth_range);
|
||||
}
|
||||
} // namespace omath::opengl_engine
|
||||
Reference in New Issue
Block a user