Quaternion.axisAngle constructor Null safety
Constructs a quaternion from a rotation of angle
around axis
.
Implementation
factory Quaternion.axisAngle(Vector3 axis, double angle) =>
Quaternion._()..setAxisAngle(axis, angle);
Constructs a quaternion from a rotation of angle
around axis
.
factory Quaternion.axisAngle(Vector3 axis, double angle) =>
Quaternion._()..setAxisAngle(axis, angle);