Type:DoubleQ: Difference between revisions

From Resonite Wiki
m Minor grammatical corrections and changes.
m Minor linking
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]]).


{{Template:DoubleTypes}}
{{Template:DoubleTypes}}

Revision as of 12:54, 15 January 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).

Related Types