mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix many warnings about implicit integer conversions when compiling for 64 bits.
--HG-- branch : minor
This commit is contained in:
@@ -174,7 +174,7 @@ Vector BezierCurve::evaluate(double t) const
|
||||
return points[0];
|
||||
}
|
||||
|
||||
vector<Vector> BezierCurve::render(size_t accuracy) const
|
||||
vector<Vector> BezierCurve::render(int accuracy) const
|
||||
{
|
||||
if (controlPoints.size() < 2)
|
||||
throw Exception("Invalid Bezier curve: Not enough control points.");
|
||||
|
||||
Reference in New Issue
Block a user