Skip to content

Commit

Permalink
Do not deprecate drawLine completely
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Oct 6, 2023
1 parent 2bd09d6 commit a26ca48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jngl/shapes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ void setLineWidth(float width);
/// Draws a line from start to end, the width can be set using setLineWidth
void drawLine(Vec2 start, Vec2 end);

[[deprecated("Use drawRectangle instead")]]
/// \deprecated Use drawRectangle instead
[[deprecated("Use drawLine(Vec2, Vec2) instead")]]
/// \deprecated Use drawLine(Vec2, Vec2) instead
void drawLine(double xstart, double ystart, double xend, double yend);

/// Draws a line from (0, 0) to \a end
Expand Down

0 comments on commit a26ca48

Please sign in to comment.