Vector4.zero constructor

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

Implementation

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