InternalThe typed array constructor (Float32Array or Float64Array)
Creates a new LogQuaternion_ instance.
The typed array constructor (Float32Array or Float64Array)
Typed array containing the x, y, z components
Configuration object containing the typed array constructor
Internal typed array storage for logarithmic quaternion components (Float32Array or Float64Array)
Gets the class name identifier.
The string 'LogQuaternion'
Gets the w component of the log quaternion. Always returns 1 for log quaternions.
Always returns 1
Gets the x component of the log quaternion.
The x component value
Gets the y component of the log quaternion.
The y component value
Gets the z component of the log quaternion.
The z component value
Static_Creates a log quaternion from individual x, y, z component values.
The x component
The y component
The z component
The typed array constructor to use
A new log quaternion
Static_Creates a log quaternion from an array by copying the first 3 values.
Array of numbers (only first 3 elements are used)
The typed array constructor to use
A new log quaternion
Static_Creates a log quaternion from a 3-element array by copying the values.
Array of 3 numbers representing x, y, z components
The typed array constructor to use
A new log quaternion
Static_Creates a log quaternion by copying from another log quaternion.
The source log quaternion to copy from
The typed array constructor to use
A new log quaternion
Static_Converts a regular quaternion to its logarithmic form.
Uses the formula log(q) = (θ / sin(θ)) * (x, y, z) where θ = acos(w).
When θ is 0 (identity rotation) the result is a zero log quaternion. When
θ is close to π the logarithm is not representable and a zero log
quaternion is returned instead of Infinity/NaN.
The source quaternion to convert
The typed array constructor to use
A new log quaternion representing the logarithm of the input quaternion
Static_Creates a log quaternion from a 3D vector by copying its components.
The source vector to copy from
The typed array constructor to use
A new log quaternion
Static_Creates a log quaternion that directly uses the given typed array (no copy).
Typed array containing the x, y, z components
The typed array constructor to use
A new log quaternion
Generic base class for logarithms of quaternions.
A log quaternion provides a more compact representation for quaternion interpolation and mathematical operations. It stores only the x, y, z components, as the w component is implicitly 1.