Vector3 constructor

Vector3(double x, double y, double z)

Construct a new vector with the specified values.

Implementation

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