diff --git a/Source/Engine/Core/Math/Quaternion.cs b/Source/Engine/Core/Math/Quaternion.cs index 7dc5b6826..125b5b36c 100644 --- a/Source/Engine/Core/Math/Quaternion.cs +++ b/Source/Engine/Core/Math/Quaternion.cs @@ -967,17 +967,18 @@ namespace FlaxEngine Matrix3x3.LookAt(ref eye, ref target, ref up, out var matrix); RotationMatrix(ref matrix, out result); } - + /// /// Creates a left-handed, look-at quaternion. /// /// The position of the viewer's eye. /// The camera look-at target. /// The created look-at quaternion. - public static Quaternion LookAt(Vector3 eye, Vector3 target){ + public static Quaternion LookAt(Vector3 eye, Vector3 target) + { return LookAt(eye, target, Vector3.Up); } - + /// /// Creates a left-handed, look-at quaternion. /// @@ -1012,7 +1013,7 @@ namespace FlaxEngine { return RotationLookAt(forward, Vector3.Up); } - + /// /// Creates a left-handed, look-at quaternion. ///