rename clamp macro to Clamp to fix compilation with g++11
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
static float LimitRadianAngle(float angle)
|
||||
{
|
||||
float result = clamp(angle, -25.0f, 25.0f);
|
||||
float result = Clamp(angle, -25.0f, 25.0f);
|
||||
|
||||
while (result >= PI) {
|
||||
result -= 2 * PI;
|
||||
|
||||
Reference in New Issue
Block a user