mat2f64T
On this page

mat2f64T

Constant in Types

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

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

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

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/f64-types.ts, line 92, at commit af54ddad5

Edit this page Report a problem