Vector4.init constructor

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

Implementation

Vector4.init({this.x = 0, this.y = 0, this.z = 0, this.w = 1});