Quaternion.euler constructor

Quaternion.euler(
  1. double yaw,
  2. double pitch,
  3. double roll
)

Constructs a quaternion from yaw, pitch and roll.

Implementation

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