Quaterniond.rotateLocalY

Apply a rotation to <code>this</code> quaternion rotating the given radians about the local y axis. <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>R * Q</code>. So when transforming a vector <code>v</code> with the new quaternion by using <code>R * Q * v</code>, the rotation represented by <code>this</code> will be applied first!

@param angle the angle in radians to rotate about the local y axis @return this

  1. Quaterniond rotateLocalY(double angle)
    struct Quaterniond
    ref return
    rotateLocalY
    (
    double angle
    )
  2. Quaterniond rotateLocalY(double angle, Quaterniond dest)

Meta