vec4f64
On this page

vec4f64()

Function in Builtins

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'

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

Syntax

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

Parameters

...a Vec64Arg[]

Return value

Node<'vec4<f64>'>

Examples

Example

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

See also

Source

src/core/ir/node.ts, line 2659, at commit 26de7be8

Edit this page Report a problem