mat3f64()
함수, 내장 함수 분류
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'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const mat3f64: ( cols_0: Mat64Col<3>, cols_1: Mat64Col<3>, cols_2: Mat64Col<3>,) => Node<"mat3x3<f64>">매개변수
...cols[Mat64Col<3>, Mat64Col<3>, Mat64Col<3>]
반환값
Node<'mat3x3<f64>'>
예제
예제
import { mat3f64, vec3f64 } from 'typeshade'
const m = mat3f64(vec3f64(1, 0, 0), vec3f64(0, 1, 0), vec3f64(0, 0, 1))함께 보기
소스
src/core/ir/node.ts, 2694행, 커밋 c66579bf 기준