vec4f64
이 페이지에서

vec4f64()

함수, 내장 함수 분류

An emulated-double vec4<f64> constructor, the four-component sibling of vec2f64; that entry has the splat, split and widen rules every vecNf64 constructor shares.

import { vec4f64 } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

const vec4f64: (...a: Vec64Arg[]) => Node<"vec4<f64>">

매개변수

...a Vec64Arg[]

반환값

Node<'vec4<f64>'>

예제

예제

import { vec4f64 } from 'typeshade'
const p = vec4f64(1e8 + 0.5, 2, 3, 4) // Node<'vec4<f64>'>

함께 보기

소스

src/core/ir/node.ts, 2659행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고