rename clamp macro to Clamp to fix compilation with g++11

This commit is contained in:
withmorten
2021-06-28 13:31:35 +02:00
parent cc235be3aa
commit cb3b3855b8
31 changed files with 116 additions and 116 deletions

View File

@@ -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;