negate method

  1. @override
Vector4 negate()
override

Implementation

@override
Vector4 negate() {
  x = -x;
  y = -y;
  z = -z;
  w = -w;

  return this;
}