Skip to content
Shapemetry

Io - Mat4

API reference — the Mat4 doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.

import { invertMat4, mat4FromTransform } from '@huukhanhnguyen/io'

Source: ./mat4. See all formats or the Guide.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

invertMat4

function

invertMat4(m: number[]): number[] | undefined

mat4FromTransform

function

mat4FromTransform(position: Point, rotation?: Quaternion, scale?: Vector): number[]

mat4Multiply

function

mat4Multiply(a: number[], b: number[]): number[]
Last updated: 📖 1 min readEdit on GitHub