static Vec2 XX(float x)
Creates a Vec2 where both components are the same value.
This is the same as
new Vec2(x, x)
|float x||Both X and Y components will have this value.|
|RETURNS: Vec2||A Vec2(x, x)|
Found an issue with these docs, or have some additional questions? Create an Issue on Github!