math docs
    Preparing search index...

    Function setAxisAngle

    • Sets a quat from the given angle and rotation axis, then returns it.

      Parameters

      • out: quat.Quat

        the receiving quaternion

      • axis: vec3.Vec3

        the axis around which to rotate

      • rad: number

        the angle in radians

      Returns quat.Quat

      out