Browse Source

mesh hack

master
Alison Watson 2 years ago
parent
commit
c05da9e05a
  1. 4
      source/main_test/entry.rs

4
source/main_test/entry.rs

@ -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