vec2-32
record
x
float32
y
vec2-64
float64
vec2
alias
vec3-32
z
vec3-64
vec3
new
(
)
show
string
a
"<x, y>"
"<x, y, z>"
to
[]
left
right
up
down
forward
backward
+
,
b
-
*
scale
/
length-squared
a.length ** 2
length
distance-squared
distance
normalize
dot
lerp
t
from-angle
radians
angle
rotate-left
rotate-right
rotate