Quaterniond.setAngleAxis

Set this quaternion to be a representation of the supplied axis and angle (in radians).

@param angle the angle in radians @param axis the rotation axis @return this

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

Meta