Type:DoubleQ: Difference between revisions

From Resonite Wiki
m fix unnessary category tags
m Minor grammatical corrections and changes.
Line 1: Line 1:
A DoubleQ Is Quaternion [[Type:Double|Double]]. It's used for rotation with 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 the Froox Engine uses FloatQ for it's rotations, this data type is usually useful for doing calculations that require higher precision. Once the calculations are done, they would have to be simplifed by casting them into FloatQ to be able to use the result in object rotations.
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.


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

Revision as of 12:51, 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.

Related Types