divideScalar method

Vector2 divideScalar(
  1. double scalar
)

Implementation

Vector2 divideScalar(double scalar) {
  return multiplyScalar(1 / scalar);
}