mix method

void mix(
  1. Vector3 other,
  2. double amount
)
override

Sets this to the linear interpolation from this to other by amount.

Implementation

void mix(Vector3 other, double amount) {
  x += amount * (other.x - x);
  y += amount * (other.y - y);
  z += amount * (other.z - z);
}