scale method

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

Implementation

@override
Vector3 scale(num scalar) {
  x *= scalar;
  y *= scalar;
  z *= scalar;

  return this;
}