transformMat64()
Function in Builtins
matNxN<f64> × vecN<f64> → vecN<f64>: the emulated-double matrix-vector product.
import { transformMat64 } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
const transformMat64: <N extends 2 | 3 | 4>( m: ReadonlyNode<`mat${N}x${N}<f64>`>, v: ReadonlyNode<`vec${N}<f64>`>,) => Node<`vec${N}<f64>`>Parameters
mReadonlyNode<`mat${N}x${N}<f64>`>vReadonlyNode<`vec${N}<f64>`>
Return value
Description
The
generic .mul rejects a matrix operand; this is the f64 counterpart of
transformMat4.
See also
Source
src/core/ir/node.ts, line 2434, at commit af54ddad5