Quaternion.euler constructor

Quaternion.euler(double yaw double pitch double roll)

Constructs a quaternion from yaw, pitch and roll.

Implementation

factory Quaternion.euler(double yaw, double pitch, double roll) =>
    new Quaternion._()..setEuler(yaw, pitch, roll);