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:
@@ -12,8 +12,8 @@ namespace SqMod {
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
const Color4 Color4::NIL = Color4();
|
||||
const Color4 Color4::MIN = Color4(NumLimit< Color4::Value >::Min);
|
||||
const Color4 Color4::MAX = Color4(NumLimit< Color4::Value >::Max);
|
||||
const Color4 Color4::MIN = Color4(std::numeric_limits< Color4::Value >::min());
|
||||
const Color4 Color4::MAX = Color4(std::numeric_limits< Color4::Value >::max());
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
SQChar Color4::Delim = ',';
|
||||
|
Reference in New Issue
Block a user