Vector3 constructor

Vector3([
  1. double? x,
  2. double? y,
  3. double? z
])

Implementation

Vector3([double? x, double? y, double? z]) {
  this.x = x ?? 0;
  this.y = y ?? 0;
  this.z = z ?? 0;
}