From 10d8a672672fc5f93eebdcea5520412c6e7f9402 Mon Sep 17 00:00:00 2001 From: VolTer Date: Sat, 15 Apr 2023 16:01:19 +0200 Subject: Fix Quaternion's brief description (cherry picked from commit 5c0e3b26a603eb6458d1e23bc77d49c05cdc0449) --- doc/classes/Quaternion.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/classes/Quaternion.xml b/doc/classes/Quaternion.xml index 161514bc03..36f8eac58b 100644 --- a/doc/classes/Quaternion.xml +++ b/doc/classes/Quaternion.xml @@ -1,12 +1,12 @@ - Quaternion. + A unit quaternion used for representing 3D rotations. - A unit quaternion used for representing 3D rotations. Quaternions need to be normalized to be used for rotation. - It is similar to Basis, which implements matrix representation of rotations, and can be parametrized using both an axis-angle pair or Euler angles. Basis stores rotation, scale, and shearing, while Quaternion only stores rotation. - Due to its compactness and the way it is stored in memory, certain operations (obtaining axis-angle and performing SLERP, in particular) are more efficient and robust against floating-point errors. + Quaternions are similar to [Basis], which implements the matrix representation of rotations. Unlike [Basis], which stores rotation, scale, and shearing, quaternions only store rotation. + Quaternions can be parametrized using both an axis-angle pair or Euler angles. Due to their compactness and the way they are stored in memory, certain operations (obtaining axis-angle and performing SLERP, in particular) are more efficient and robust against floating-point errors. + [b]Note:[/b] Quaternions need to be normalized before being used for rotation. $DOCS_URL/tutorials/3d/using_transforms.html#interpolating-with-quaternions -- cgit v1.2.3