Creates a new vec2 initialized with the given values
X component
Y component
a new 2D vector
Generated using TypeDoc
Creates a new vec2 initialized with the given values