mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Merge pull request #494 from REDxEYE/vertex_structures
Use vertex structures instead of plain float arrays
This commit is contained in:
commit
330b383d36
27 changed files with 582 additions and 525 deletions
|
|
@ -93,11 +93,11 @@ std::shared_ptr<UINode> create_debug_panel(
|
|||
panel->add(create_label(gui, []() { return L"fps: "+fpsString;}));
|
||||
|
||||
panel->add(create_label(gui, []() {
|
||||
return L"meshes: " + std::to_wstring(Mesh::meshesCount);
|
||||
return L"meshes: " + std::to_wstring(MeshStats::meshesCount);
|
||||
}));
|
||||
panel->add(create_label(gui, []() {
|
||||
int drawCalls = Mesh::drawCalls;
|
||||
Mesh::drawCalls = 0;
|
||||
int drawCalls = MeshStats::drawCalls;
|
||||
MeshStats::drawCalls = 0;
|
||||
return L"draw-calls: " + std::to_wstring(drawCalls);
|
||||
}));
|
||||
panel->add(create_label(gui, []() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue