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