vec4f64
On this page

vec4f64

Type

A four-component vector of f64.

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

interface vec4f64 {
readonly [vec64Tag]: 4
0: f64
1: f64
2: f64
3: f64
x: f64
y: f64
z: f64
w: f64
r: f64
g: f64
b: f64
a: f64
…
}

The … line stands for 672 more members, the swizzles. A swizzle reads two to four components as a new vector of the same element type. The components come in any order and may repeat, and their letters come from one set, xyzw or rgba.

See also

Edit this page Report a problem