Quaternion class final
A rotation, as a quaternion.
See mln_quaternion in the
C API reference.
Constructors
- Quaternion({double x = 0, double y = 0, double z = 0, double w = 0})
-
const
Properties
Methods
-
copyWith(
{double? x, double? y, double? z, double? w}) → Quaternion - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited