Create a Vec2 from x and y components.
const origin = vec2(0, 0);const point = vec2(675, 450); // center of a 1350×900 scene Copy
const origin = vec2(0, 0);const point = vec2(675, 450); // center of a 1350×900 scene
Create a Vec2 from x and y components.