setScalar method

  1. @override
Vector4 setScalar(
  1. double scalar
)
override

Implementation

@override
Vector4 setScalar(double scalar) {
  x = scalar;
  y = scalar;
  z = scalar;
  w = scalar;

  return this;
}