Vector4 constructor

Vector4(double x, double y, double z, double w)

Construct a new vector with the specified values.

Implementation

factory Vector4(double x, double y, double z, double w) =>
    new Vector4.zero()..setValues(x, y, z, w);