Quaternion constructor
Implementation
factory Quaternion({
$core.double? x,
$core.double? y,
$core.double? z,
$core.double? w,
}) {
final $result = create();
if (x != null) {
$result.x = x;
}
if (y != null) {
$result.y = y;
}
if (z != null) {
$result.z = z;
}
if (w != null) {
$result.w = w;
}
return $result;
}