Vector3 constructor

Vector3(
  1. double x,
  2. double y,
  3. double z
)

Construct a new vector with the specified values.

Implementation

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