m Minor grammatical corrections and changes. |
m Reference to FloatQ examples |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
A DoubleQ is a double precision floating point representation of a [https://en.wikipedia.org/wiki/Quaternion Quaternion]. It is commonly used for rotations which require higher precision. | A DoubleQ is a double precision floating point representation of a [https://en.wikipedia.org/wiki/Quaternion Quaternion]. It is commonly used for rotations which require higher precision. | ||
Since [[FrooxEngine|FrooxEngine]] uses [[Type:FloatQ|FloatQ]] to store rotations for [[Slot|Slot]] transforms, this data type is mostly for performing manual computations which can later be down-converted to their single precision equivalent. | Since [[FrooxEngine|FrooxEngine]] uses [[Type:FloatQ|FloatQ]] to store rotations for [[Slot|Slot]] transforms, this data type is mostly for performing manual computations which can later be down-converted to their single precision equivalent ([[Type:FloatQ|FloatQ]]). | ||
Examples are the same as for [[Type:FloatQ#Examples|FloatQ#Examples]]. | |||
{{Template:DoubleTypes}} | {{Template:DoubleTypes}} |
Latest revision as of 08:06, 6 February 2024
A DoubleQ is a double precision floating point representation of a Quaternion. It is commonly used for rotations which require higher precision.
Since FrooxEngine uses FloatQ to store rotations for Slot transforms, this data type is mostly for performing manual computations which can later be down-converted to their single precision equivalent (FloatQ).
Examples are the same as for FloatQ#Examples.