Quaternion constructor Null safety
Constructs a quaternion using the raw values x
, y
, z
, and w
.
Implementation
factory Quaternion(double x, double y, double z, double w) =>
Quaternion._()..setValues(x, y, z, w);
Constructs a quaternion using the raw values x
, y
, z
, and w
.
factory Quaternion(double x, double y, double z, double w) =>
Quaternion._()..setValues(x, y, z, w);