From 43722dbcbc1e164ab8b9008395c650edb1d977db Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Thu, 6 Oct 2022 16:35:54 -0500 Subject: Use float literals for float calculations in Color --- core/math/quaternion.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/math/quaternion.h') diff --git a/core/math/quaternion.h b/core/math/quaternion.h index 077fe5f189..178cfaca70 100644 --- a/core/math/quaternion.h +++ b/core/math/quaternion.h @@ -143,8 +143,7 @@ struct _NO_DISCARD_ Quaternion { w = p_q.w; } - Quaternion(const Vector3 &v0, const Vector3 &v1) // shortest arc - { + Quaternion(const Vector3 &v0, const Vector3 &v1) { // Shortest arc. Vector3 c = v0.cross(v1); real_t d = v0.dot(v1); -- cgit v1.2.3