math docs
    Preparing search index...

    Variable setAxesConst

    setAxes: (
        out: quat.Quat,
        view: readonly [number, number, number],
        right: readonly [number, number, number],
        up: readonly [number, number, number],
    ) => quat.Quat = ...

    Sets the specified quaternion with values corresponding to the given axes. Each axis is a vec3 and is expected to be unit length and perpendicular to all other specified axes.

    Type Declaration

      • (
            out: quat.Quat,
            view: readonly [number, number, number],
            right: readonly [number, number, number],
            up: readonly [number, number, number],
        ): quat.Quat
      • Parameters

        • out: quat.Quat
        • view: readonly [number, number, number]

          the vector representing the viewing direction

        • right: readonly [number, number, number]

          the vector representing the local "right" direction

        • up: readonly [number, number, number]

          the vector representing the local "up" direction

        Returns quat.Quat

        out