V.XY
static Vec2 XY(float x, float y)
Creates a Vec2, this is a straight alternative to
new Vec2(x, y)
float x | X component of the Vector |
float y | Y component of the Vector |
RETURNS: Vec2 | A Vec2(x, y) |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!