Quaternion.euler constructor

Quaternion.euler(
  1. double ex,
  2. double ey,
  3. double ez
)

The rotation with Euler angles ex, ey, ez (radians).

Implementation

Quaternion.euler(double ex, double ey, double ez)
  : x = 0.0,
    y = 0.0,
    z = 0.0,
    w = 1.0 {
  setEuler(ex, ey, ez);
}