mat3f64
On this page

mat3f64()

Function in Builtins

An emulated-double mat3x3<f64> constructor, column-major, the 3×3 sibling of mat2f64; that entry has the column-argument convention and the transform helpers.

import { mat3f64 } from 'typeshade/core/ir'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

const mat3f64: (
cols_0: Mat64Col<3>,
cols_1: Mat64Col<3>,
cols_2: Mat64Col<3>,
) => Node<"mat3x3<f64>">

Parameters

...cols [Mat64Col<3>, Mat64Col<3>, Mat64Col<3>]

Return value

Node<'mat3x3<f64>'>

Examples

Example

import { mat3f64, vec3f64 } from 'typeshade/core/ir'
const m = mat3f64(vec3f64(1, 0, 0), vec3f64(0, 1, 0), vec3f64(0, 0, 1))

See also

Source

src/core/ir/node.ts, line 2408, at commit af54ddad5

Edit this page Report a problem