addScalar method

Vector4 addScalar(
  1. num s
)

Implementation

Vector4 addScalar(num s) {
  x += s;
  y += s;
  z += s;
  w += s;

  return this;
}