divideScalar method

  1. @override
Vector3 divideScalar(
  1. num scalar
)
override

Implementation

@override
Vector3 divideScalar(num scalar) {
  if(scalar == 0) return this;
  return scale(1 / scalar);
}