1
0
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:
Sandu Liviu Catalin
2016-03-22 02:05:50 +02:00
parent 8088ba94c2
commit ec88d0ae30
12 changed files with 63 additions and 84 deletions

View File

@@ -12,8 +12,8 @@ namespace SqMod {
// ------------------------------------------------------------------------------------------------
const Color3 Color3::NIL = Color3();
const Color3 Color3::MIN = Color3(NumLimit< Color3::Value >::Min);
const Color3 Color3::MAX = Color3(NumLimit< Color3::Value >::Max);
const Color3 Color3::MIN = Color3(std::numeric_limits< Color3::Value >::min());
const Color3 Color3::MAX = Color3(std::numeric_limits< Color3::Value >::max());
// ------------------------------------------------------------------------------------------------
SQChar Color3::Delim = ',';