@kognifai/cogsengine
    Preparing search index...

    Function setAxisAngle

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

      Parameters

      • out: quat

        the receiving quaternion

      • axis: ReadonlyVec3

        the axis around which to rotate

      • rad: number

        the angle in radians

      Returns quat

      out