clipping planes for camera

This commit is contained in:
2020-01-28 08:01:34 +07:00
parent bd085efa3a
commit 8f0fac1750
20 changed files with 297 additions and 159 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_matrix4(
const auto projection = math::make_perspective_lh_no_matrix4(
make_deg(45.f),
framebuffer_size.x / framebuffer_size.y,
0.1f,