clipping mode config for projection matrices

This commit is contained in:
2020-01-28 10:30:31 +07:00
parent 221ac93951
commit d7ab730d2a
10 changed files with 226 additions and 213 deletions

View File

@@ -235,7 +235,7 @@ namespace
void frame_render() final {
const auto framebuffer_size = the<window>().real_size().cast_to<f32>();
const auto projection = math::make_perspective_lh_no_matrix4(
const auto projection = math::make_perspective_lh_matrix4(
make_deg(45.f),
framebuffer_size.x / framebuffer_size.y,
0.1f,