invert method

Vec3 invert(
  1. Vec3 v
)

Invert v and set it to this vector

Implementation

Vec3 invert (Vec3 v ) {
  x=-v.x;
  y=-v.y;
  z=-v.z;
  return this;
}