menu
three_dart package
documentation
three3d/math/quaternion.dart
Quaternion
angleTo method
angleTo method
dark_mode
light_mode
angleTo
method
double
angleTo
(
Quaternion
q
)
Implementation
double angleTo(Quaternion q) { return 2 * Math.acos(Math.abs(MathUtils.clamp(dot(q), -1, 1))); }
three_dart package
documentation
three3d/math/quaternion
Quaternion
angleTo method
Quaternion class