LVec2Generated
Category: Types
Longs in two or three components.
Syntax
Section titled “Syntax”LVec2 LVec3Description
Section titled “Description”Longs in two or three components.
Builtins that take this type
Section titled “Builtins that take this type”| Returns | Function | Category |
|---|---|---|
LVec2 |
abs(x: LVec2) |
math |
LVec2 |
clamp(x: LVec2, low: Long, high: Long) |
math |
LVec2 |
clamp(x: LVec2, low: LVec2, high: LVec2) |
math |
DVec2 |
double(x: LVec2) |
conversion |
Vec2 |
float(x: LVec2) |
conversion |
IVec2 |
int(x: LVec2) |
conversion |
LVec2 |
long(x: Vec2) |
conversion |
LVec2 |
long(x: IVec2) |
conversion |
LVec2 |
long(x: DVec2) |
conversion |
LVec2 |
lvec2(x: Long, y: Long) |
construction |
LVec2 |
lvec2(v: IVec2) |
construction |
LVec3 |
lvec3(xy: LVec2, z: Long) |
construction |
LVec2 |
max(a: LVec2, b: Long) |
math |
LVec2 |
max(a: LVec2, b: LVec2) |
math |
LVec2 |
min(a: LVec2, b: Long) |
math |
LVec2 |
min(a: LVec2, b: LVec2) |
math |
LVec2 |
sign(x: LVec2) |
math |

