faster rect command creation

This commit is contained in:
2026-09-06 16:06:14 +02:00
committed by tobid7
parent 9f6deeb18d
commit 02be117b5a
3 changed files with 29 additions and 9 deletions
+2
View File
@@ -45,6 +45,8 @@ class PD_API Drawlist {
/** Command Allocation */
Command& NewCommand();
bool HasCommands() { return pCommands.size() > 0; }
Command& GetLastCommand() { return pCommands[pCommands.size() - 1]; }
/** Path API */
void PathAdd(const fvec2& point) { pPath.Push(point); }