mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fix line and shape segment counts and smooth line antialiasing when love.graphics.applyTransform and replaceTransform are used.
--HG-- branch : minor
This commit is contained in:
@@ -118,6 +118,12 @@ public:
|
||||
* @param ky Shear along y-axis.
|
||||
**/
|
||||
void setShear(float kx, float ky);
|
||||
|
||||
/**
|
||||
* Calculates the scale factors for a 2D affine transform. The output values
|
||||
* are absolute (not signed).
|
||||
**/
|
||||
void getApproximateScale(float &sx, float &sy) const;
|
||||
|
||||
/**
|
||||
* Sets a transformation's values directly. Useful if you want to modify them inplace,
|
||||
|
||||
Reference in New Issue
Block a user