Browse Source

mesh hack

master
Alison Watson 4 months ago
parent
commit
c05da9e05a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/main_test/entry.rs

+ 3
- 1
source/main_test/entry.rs View File

@@ -194,7 +194,9 @@ impl<'a> SwapchainData<'a, '_> {
);

// TODO
sc_info.model.draw(buf, "mesh0").unwrap();
for which in &["mesh0", "mesh1", "mesh2", "mesh3", "mesh4", "mesh5", "mesh6", "mesh7", "mesh8", "mesh9", "mesh10", "mesh11", "mesh12", "mesh13", "mesh14", "mesh15", "mesh16", "mesh17", "mesh18"] {
sc_info.model.draw(buf, which).unwrap();
}

device.cmd_end_render_pass(buf);



Loading…
Cancel
Save