angleTo method

double angleTo(
  1. Quaternion q
)

Implementation

double angleTo(Quaternion q) {
  return 2 * Math.acos(Math.abs(MathUtils.clamp(dot(q), -1, 1)));
}