Appearance
aninest / Vec2 / vecToIter
function vecToIter(v): readonly [number, number]
Converts a vector to an array. Useful for spreading into function arguments.
• v: Vec2
Vec2
readonly [number, number]
number
An array with the x and y components of the vector in the format [x, y].
Utils/vec2.ts:118