Vector4.identity constructor

Vector4.identity({
  1. double x = 0,
  2. double y = 0,
  3. double z = 0,
  4. double w = 1,
})

Implementation

Vector4.identity({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;
}