Creates a Vec2 from an x and y coordinate.
Vec2
import { Vec2 } from '@js-draw/math'; const v = Vec2.of(3, 4); // x=3, y=4.
Creates a
Vec2
from an x and y coordinate.Example