mat2x2
On this page

mat2x2

Type in Runtime

A mat2x2 as a host value: a readonly tuple of its 4 components, column-major.

import type { mat2x2 } from 'typeshade/runtime'

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

Syntax

type mat2x2<T extends f32 | f64 = f32> = readonly [T, T, T, T] & {
readonly [tag]?: 'mat2x2';
};

Description

mat2x2<f64> holds f64 components (Rule 4.4).

Source

src/runtime/host-types.ts, line 106, at commit af54ddad5

Edit this page Report a problem