mirror of
https://github.com/halpz/re3.git
synced 2025-06-28 01:26:20 +00:00
rename clamp macro to Clamp to fix compilation with g++11 (and clamp2 for consistency sake)
This commit is contained in:
@ -423,7 +423,7 @@ ScreenDroplets::ProcessCameraMovement(void)
|
||||
ms_movingEnabled = !isTopDown && !isLookingInDirection;
|
||||
|
||||
// 0 when looking stright up, 180 when looking up or down
|
||||
ms_camUpAngle = RADTODEG(Acos(clamp(camUp.z, -1.0f, 1.0f)));
|
||||
ms_camUpAngle = RADTODEG(Acos(Clamp(camUp.z, -1.0f, 1.0f)));
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user