QoL Changes

fix timetrace last diff
This commit is contained in:
2025-12-27 23:35:23 +01:00
parent 03f65e069f
commit 7fc7a2ecb9
5 changed files with 31 additions and 16 deletions

View File

@@ -40,6 +40,12 @@ class Command {
IndexBuffer.push_back(VertexBuffer.size() + idx);
return *this;
}
Command& AddIdxs(const u16& a, const u16& b, const u16& c) {
IndexBuffer.push_back(VertexBuffer.size() + a);
IndexBuffer.push_back(VertexBuffer.size() + b);
IndexBuffer.push_back(VertexBuffer.size() + c);
return *this;
}
Command& AddVtx(const Vertex& v) {
VertexBuffer.push_back(std::move(v));