Fixed the mipmaps flag in love.graphics.newImage; cleaned up a bit of vector code in love.math.isConvex.

This commit is contained in:
Alex Szpakowski
2018-01-28 22:32:40 -04:00
parent a461f2d7af
commit d37c53584e
3 changed files with 49 additions and 31 deletions
+4
View File
@@ -39,6 +39,10 @@ struct Vector2
: x(x), y(y)
{}
Vector2(const Vector2 &v)
: x(v.x), y(v.y)
{}
/**
* Gets the length of the Vector.
**/