scale method

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

Implementation

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

  return this;
}