mat2f64T
On this page

mat2f64T

Constant in Types

A 2×2 emulated-double matrix, logically mat2x2<f64>.

import { mat2f64T } from 'typeshade'

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

Syntax

const mat2f64T: { readonly kind: "mat"; readonly cols: 2; readonly rows: 2; readonly elem: "f64"; }

Description

Before emit it is rewritten into a struct of two vec2f64T columns, and mulMat64, transformMat64 and transpose64 on it compose the scalar double-double error-free transforms the same way length and dot on vec2f64T do.

See also

Source

src/core/ir/types.ts, line 547, at commit 26de7be8

Edit this page Report a problem