Quaterniond.rotateZYX

Apply a rotation to <code>this</code> quaternion rotating the given radians about the cartesian base unit axes, called the euler angles, using the rotation sequence <code>ZYX</code>. <p> This method is equivalent to calling: <code>rotateZ(angleZ).rotateY(angleY).rotateX(angleX)</code> <p> If <code>Q</code> is <code>this</code> quaternion and <code>R</code> the quaternion representing the specified rotation, then the new quaternion will be <code>Q * R</code>. So when transforming a vector <code>v</code> with the new quaternion by using <code>Q * R * v</code>, the rotation added by this method will be applied first!

@param angleZ the angle in radians to rotate about the z axis @param angleY the angle in radians to rotate about the y axis @param angleX the angle in radians to rotate about the x axis @return this

  1. Quaterniond rotateZYX(double angleZ, double angleY, double angleX)
    struct Quaterniond
    ref public return
    rotateZYX
    (
    double angleZ
    ,
    double angleY
    ,
    double angleX
    )
  2. Quaterniond rotateZYX(double angleZ, double angleY, double angleX, Quaterniond dest)

Meta