Use float literals for float calculations in Color

This commit is contained in:
Aaron Franke
2022-10-06 16:35:54 -05:00
parent 1baefceaba
commit 43722dbcbc
16 changed files with 66 additions and 70 deletions

View File

@@ -282,7 +282,7 @@ Transform2D Transform2D::interpolate_with(const Transform2D &p_transform, const
real_t dot = v1.dot(v2);
dot = CLAMP(dot, -1.0f, 1.0f);
dot = CLAMP(dot, (real_t)-1.0, (real_t)1.0);
Vector2 v;