mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Address some compiler warnings about implicit integer conversions.
--HG-- branch : minor
This commit is contained in:
@@ -233,7 +233,7 @@ vector<Vector> BezierCurve::render(int accuracy) const
|
||||
return vertices;
|
||||
}
|
||||
|
||||
vector<Vector> BezierCurve::renderSegment(double start, double end, size_t accuracy) const
|
||||
vector<Vector> BezierCurve::renderSegment(double start, double end, int accuracy) const
|
||||
{
|
||||
if (controlPoints.size() < 2)
|
||||
throw Exception("Invalid Bezier curve: Not enough control points.");
|
||||
|
||||
Reference in New Issue
Block a user