fix for windows specific suff related to far near macroses

This commit is contained in:
2026-03-19 15:32:05 +03:00
parent 29510cf9e7
commit 5f94e36965

View File

@@ -138,16 +138,16 @@ namespace omath::projection
m_projection_matrix = std::nullopt; 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_view_projection_matrix = std::nullopt;
m_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_view_projection_matrix = std::nullopt;
m_projection_matrix = std::nullopt; m_projection_matrix = std::nullopt;
} }