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
@@ -9,6 +9,8 @@ class Vertex {
Vertex() {}
Vertex(const fvec2& pos, const fvec2& uv, u32 color)
: pos(pos), uv(uv), color(color) {}
Vertex(float x, float y, float u, float v, u32 color)
: pos(x, y), uv(u, v), color(color) {}
~Vertex() {}
void Reset() {