File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ namespace omath::projection
347347 if constexpr (screen_start == ScreenStart::TOP_LEFT_CORNER)
348348 return {screen_pos.x / m_view_port.m_width * 2 .f - 1 .f , 1 .f - screen_pos.y / m_view_port.m_height * 2 .f ,
349349 screen_pos.z };
350- else if (screen_start == ScreenStart::BOTTOM_LEFT_CORNER)
350+ else if constexpr (screen_start == ScreenStart::BOTTOM_LEFT_CORNER)
351351 return {screen_pos.x / m_view_port.m_width * 2 .f - 1 .f ,
352352 (screen_pos.y / m_view_port.m_height - 0 .5f ) * 2 .f , screen_pos.z };
353353 else
Original file line number Diff line number Diff line change 11#pragma once
22
3- constexpr double TEST_TOLERANCE_STRICT = 0 .00001f ; // For very strict tests
4- constexpr double TEST_TOLERANCE_NORMAL = 0 .001f ; // For normal precision tests
5- constexpr double TEST_TOLERANCE_ROUNDTRIP = 0 .001f ; // For round-trip conversions
3+ constexpr double TEST_TOLERANCE_STRICT = 0 .00001f ; // For very strict tests
4+ constexpr double TEST_TOLERANCE_NORMAL = 0 .001f ; // For normal precision tests
5+ constexpr double TEST_TOLERANCE_ROUNDTRIP = 0 .001f ; // For round-trip conversions
You can’t perform that action at this time.
0 commit comments