vec2
On this page

vec2

Type in Runtime

A vec2, the vector of two f32, as a host value: a readonly tuple of two f32.

import type { vec2 } from 'typeshade/runtime'

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

Syntax

type vec2 = readonly [f32, f32];

In the guide

Source

src/runtime/host-types.ts, line 60, at commit af54ddad5

Edit this page Report a problem