Quaternion.axisAngle constructor

Quaternion.axisAngle(
  1. Vector3 axis,
  2. double angle
)

Constructs a quaternion from a rotation of angle around axis.

Implementation

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