vec3b
On this page

vec3b

Function

Builds a vec3b from three bool scalars, a vec2b and a scalar, broadcasts a single bool, or converts from a vec3 of a different element kind.

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

Syntax

declare function vec3b(): vec3b
declare function vec3b(x: bool, y: bool, z: bool): vec3b
declare function vec3b(v: vec2b, z: bool): vec3b
declare function vec3b(x: bool, v: vec2b): vec3b
declare function vec3b(scalar: bool): vec3b
declare function vec3b(v: vec3b): vec3b
declare function vec3b(v: vec3): vec3b
declare function vec3b(v: vec3i): vec3b
declare function vec3b(v: vec3u): vec3b

Parameters

Return value

vec3b

Description

A comparison of two vec3 values yields one.

Examples

See also

Edit this page Report a problem