mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-22 16:57:12 +02:00
Replaced the numeric limits from previous legacy implementation with the one provided by C++11.
Added a few extra constants for numeric limits.
This commit is contained in:
@@ -4,13 +4,16 @@
|
||||
#include "Base/Shared.hpp"
|
||||
#include "Library/Random.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include <limits>
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
const Vector2 Vector2::NIL = Vector2(0);
|
||||
const Vector2 Vector2::MIN = Vector2(NumLimit< Vector2::Value >::Min);
|
||||
const Vector2 Vector2::MAX = Vector2(NumLimit< Vector2::Value >::Max);
|
||||
const Vector2 Vector2::MIN = Vector2(std::numeric_limits< Vector2::Value >::min());
|
||||
const Vector2 Vector2::MAX = Vector2(std::numeric_limits< Vector2::Value >::max());
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
SQChar Vector2::Delim = ',';
|
||||
|
Reference in New Issue
Block a user