subVectors method

Vec3 subVectors(
  1. Vec3 a,
  2. Vec3 b
)

Subtract a from b

Implementation

Vec3 subVectors (Vec3 a,Vec3 b ) {
  x = a.x - b.x;
  y = a.y - b.y;
  z = a.z - b.z;
  return this;
}