mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Removed love.graphics.setLine and love.graphics.setPoint.
Both functions are redundant (setLineStyle+setLineWidth and setPointStyle+setPointSize do the same thing) and have misleading names.
This commit is contained in:
@@ -325,12 +325,6 @@ public:
|
||||
**/
|
||||
void setLineStyle(LineStyle style);
|
||||
|
||||
/**
|
||||
* Sets the type of line used to draw primitives.
|
||||
* A shorthand for setLineWidth and setLineStyle.
|
||||
**/
|
||||
void setLine(float width, LineStyle style);
|
||||
|
||||
/**
|
||||
* Gets the line width.
|
||||
**/
|
||||
@@ -352,11 +346,6 @@ public:
|
||||
**/
|
||||
void setPointStyle(PointStyle style);
|
||||
|
||||
/**
|
||||
* Shorthand for setPointSize and setPointStyle.
|
||||
**/
|
||||
void setPoint(float size, PointStyle style);
|
||||
|
||||
/**
|
||||
* Gets the point size.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user