Skip to content

Commit

Permalink
Changed default minimum boundary to be largest negative value instead…
Browse files Browse the repository at this point in the history
… of smallest positive value.
  • Loading branch information
EdvinLndh committed Oct 24, 2024
1 parent 712c732 commit 1df3385
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libopenage/renderer/camera/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ static constexpr float DEFAULT_MAX_ZOOM_OUT = 64.0f;
static constexpr float DEFAULT_ZOOM_RATIO = 1.0f / 49;

static constexpr CameraBoundaries DEFAULT_CAM_BOUNDARIES{
std::numeric_limits<float>::min(),
std::numeric_limits<float>::lowest(),
std::numeric_limits<float>::max(),
std::numeric_limits<float>::min(),
std::numeric_limits<float>::lowest(),
std::numeric_limits<float>::max(),
std::numeric_limits<float>::min(),
std::numeric_limits<float>::lowest(),
std::numeric_limits<float>::max()};

/**
Expand Down

0 comments on commit 1df3385

Please sign in to comment.