getDirection method

  1. @override
double getDirection()

Implementation

@override
double getDirection() {
  return atan2(this.v.x, -this.v.y) * MathUtil.N180_PI;
}