More test fiddling
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ),
|
||||
|
||||
@@ -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 }; // (- + -)
|
||||
|
||||
Reference in New Issue
Block a user