setScalar method

Vector4 setScalar(
  1. num scalar
)

Implementation

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

  return this;
}