Cleanup: replace C-style casts with functional casts for numeric types

This commit is contained in:
2022-09-25 18:33:28 +10:00
parent c7b247a118
commit f68cfd6bb0
310 changed files with 1541 additions and 1542 deletions

View File

@@ -287,7 +287,7 @@ void ED_object_rotation_from_quat(float rot[3], const float viewquat[4], const c
}
case 'Y': {
quat_to_eul(rot, viewquat);
rot[0] -= (float)M_PI_2;
rot[0] -= float(M_PI_2);
break;
}
case 'Z': {