sub method

void sub(
  1. Vector3 other
)

Subtract other in-place.

Implementation

void sub(Vector3 other) {
  x -= other.x;
  y -= other.y;
  z -= other.z;
}