diff options
author | aap <aap@papnet.eu> | 2020-05-12 16:27:26 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-12 16:27:39 +0200 |
commit | 40829b52422cfcd031961fabf60ad99b3ae69ccc (patch) | |
tree | 73cb776ada029a62cdc026e35f3fdbcc9c738e8f /src/render/Sprite2d.h | |
parent | fix garages (diff) | |
download | re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.gz re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.bz2 re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.lz re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.xz re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.zst re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Sprite2d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Sprite2d.h b/src/render/Sprite2d.h index 0e12d441..04b40591 100644 --- a/src/render/Sprite2d.h +++ b/src/render/Sprite2d.h @@ -46,6 +46,8 @@ public: static void DrawRect(const CRect &r, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3); static void DrawRect(const CRect &r, const CRGBA &col); static void DrawRectXLU(const CRect &r, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3); + static void DrawAnyRect(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, + const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3); static void Draw2DPolygon(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, const CRGBA &color); |