Vector4 constructor

Vector4([
  1. double? x,
  2. double? y,
  3. double? z,
  4. double? w,
])

Implementation

Vector4([double? x, double? y, double? z, double? w]) {
  storage = Float32List(4);
  this.x = x ?? 0;
  this.y = y ?? 0;
  this.z = z ?? 0;
  this.w = w ?? 0;
}