Quaterniond.setAngleAxis

Set this quaternion to a rotation equivalent to the supplied axis and angle (in radians). <p> This method assumes that the given rotation axis <code>(x, y, z)</code> is already normalized

@param angle the angle in radians @param x the x-component of the normalized rotation axis @param y the y-component of the normalized rotation axis @param z the z-component of the normalized rotation axis @return this

  1. Quaterniond setAngleAxis(double angle, double x, double y, double z)
    struct Quaterniond
    ref public return
    setAngleAxis
    (
    double angle
    ,
    double x
    ,
    double y
    ,
    double z
    )
  2. Quaterniond setAngleAxis(double angle, Vector3d axis)

Meta