divided method

Vector3 divided(
  1. Vector3 other
)

Returns the per-component quotient of this vector and other.

Equivalent to Vector3(x / other.x, y / other.y, z / other.z).

Implementation

Vector3 divided(Vector3 other) {
  return Vector3(x / other.x, y / other.y, z / other.z);
}