vec3f64
On this page

vec3f64()

Function in Builtins

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

import { vec3f64 } from 'typeshade'

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

Syntax

const vec3f64: (...a: Vec64Arg[]) => Node<"vec3<f64>">

Parameters

...a Vec64Arg[]

Return value

Node<'vec3<f64>'>

Examples

Example

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

See also

Source

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

Edit this page Report a problem