worldToLocalRotation method

double worldToLocalRotation(
  1. double worldRotation
)

Implementation

double worldToLocalRotation(double worldRotation) {
  final double sin = MathUtils.sinDeg(worldRotation),
      cos = MathUtils.cosDeg(worldRotation);
  return math.atan2(a * sin - c * cos, d * cos - b * sin) * MathUtils.radDeg;
}