API

Function writeMat4FromLookDirectionRHIntoBuffer

  • Write an orientation matrix that maps local -Z to forward and local +Y to up. Inputs must be normalized and orthogonal.

    Type Parameters

    • T extends Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>

    Parameters

    Returns T