Vector3 constructor

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

Implementation

factory Vector3({
  $core.double? x,
  $core.double? y,
  $core.double? z,
}) {
  final $result = create();
  if (x != null) {
    $result.x = x;
  }
  if (y != null) {
    $result.y = y;
  }
  if (z != null) {
    $result.z = z;
  }
  return $result;
}