Quaternion.axisAngle constructor

Quaternion.axisAngle(Vector3 axis, double angle)

Constructs a quaternion from a rotation of angle around axis.

Implementation

factory Quaternion.axisAngle(Vector3 axis, double angle) =>
    new Quaternion._()..setAxisAngle(axis, angle);