multiplyScalar method

Vector4 multiplyScalar(
  1. num scalar
)

Implementation

Vector4 multiplyScalar(num scalar) {
  x *= scalar;
  y *= scalar;
  z *= scalar;
  w *= scalar;

  return this;
}