withCoords method

Vector3 withCoords({
  1. double? x,
  2. double? y,
  3. double? z,
})

Implementation

Vector3 withCoords({double? x, double? y, double? z}) {
  return Vector3(
    x ?? this.x,
    y ?? this.y,
    z ?? this.z,
  );
}