mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Address some compiler warnings about implicit integer conversions.
--HG-- branch : minor
This commit is contained in:
@@ -136,7 +136,7 @@ public:
|
||||
* @param accuracy The 'fineness' of the curve.
|
||||
* @returns A polygon chain that approximates the segment along the curve
|
||||
**/
|
||||
std::vector<Vector> renderSegment(double start, double end, size_t accuracy = 4) const;
|
||||
std::vector<Vector> renderSegment(double start, double end, int accuracy = 4) const;
|
||||
|
||||
private:
|
||||
std::vector<Vector> controlPoints;
|
||||
|
||||
Reference in New Issue
Block a user