More test fiddling

This commit is contained in:
2024-02-16 20:09:15 -05:00
parent 408d767dcd
commit 0a5ae5505b
7 changed files with 21 additions and 26 deletions

View File

@@ -28,7 +28,7 @@ namespace fgl::engine::constants
constexpr float DEFAULT_FLOAT { std::numeric_limits< float >::max() };
constexpr float NEAR_PLANE { 0.1f };
constexpr float FAR_PLANE { 5.0f };
constexpr float FAR_PLANE { 100.0f };
constexpr glm::vec3 CENTER { 0.0f, 0.0f, 0.0f };
} // namespace fgl::engine::constants

View File

@@ -22,9 +22,6 @@ namespace fgl::engine::debug
ZoneScoped;
const ImVec2 window_size { windowSize() };
world_point.z = -world_point.z;
world_point.x = -world_point.x;
return Coordinate< CoordinateSpace::Screen >( glm::project(
static_cast< glm::vec3 >( world_point ),
glm::mat4( 1.0f ),

View File

@@ -125,10 +125,6 @@ namespace fgl::engine
const auto yp { xp_yp_zp.y };
const auto zp { xp_yp_zp.z };
assert( xp > xn );
assert( yp > yn );
assert( zp > zn );
//Top
const glm::vec3 xn_yp_zp { xn, yp, zp }; // (- + +)
const glm::vec3 xn_yp_zn { xn, yp, zn }; // (- + -)