addScalar method

  1. @override
Vector4 addScalar(
  1. num s
)
override

Implementation

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

  return this;
}