equals method

bool equals(
  1. Vector3 v
)

Is v == to this

Implementation

bool equals (Vector3 v ) {
  return v.x == x && v.y == y && v.z == z;
}