Vec2.Vec2

void Vec2(float x, float y)

A basic constructor, just copies the values in!

   
float x X component of the vector.
float y Y component of the vector.
void Vec2(float xy)

A short hand constructor, just sets all values as the same!

   
float xy X and Y component of the vector.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!