transformMat64()
Function in Builtins
matNxN<f64> × vecN<f64> → vecN<f64>: the emulated-double matrix-vector product.
import { transformMat64 } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
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 2720, at commit 26de7be8