transformMat64
On this page

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

m ReadonlyNode<`mat${N}x${N}<f64>`>
v ReadonlyNode<`vec${N}<f64>`>

Return value

Node<`vec${N}<f64>`>

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

Edit this page Report a problem