From 5f94e36965f502c6485de3d0ae8b9c66c0cb230f Mon Sep 17 00:00:00 2001 From: Orange Date: Thu, 19 Mar 2026 15:32:05 +0300 Subject: [PATCH] fix for windows specific suff related to far near macroses --- include/omath/projection/camera.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/omath/projection/camera.hpp b/include/omath/projection/camera.hpp index a6b236b..c2d82f6 100644 --- a/include/omath/projection/camera.hpp +++ b/include/omath/projection/camera.hpp @@ -138,16 +138,16 @@ namespace omath::projection m_projection_matrix = std::nullopt; } - void set_near_plane(const float near) noexcept + void set_near_plane(const float near_plane) noexcept { - m_near_plane_distance = near; + m_near_plane_distance = near_plane; m_view_projection_matrix = std::nullopt; m_projection_matrix = std::nullopt; } - void set_far_plane(const float far) noexcept + void set_far_plane(const float far_plane) noexcept { - m_far_plane_distance = far; + m_far_plane_distance = far_plane; m_view_projection_matrix = std::nullopt; m_projection_matrix = std::nullopt; }