forked from StrafesNET/strafe-client
change lines grouping
This commit is contained in:
parent
2f9068a5a1
commit
3c73aeeaa8
@ -471,8 +471,8 @@ impl strafe_client::framework::Example for Skybox {
|
||||
});
|
||||
|
||||
rpass.set_bind_group(0, &self.bind_group, &[]);
|
||||
rpass.set_pipeline(&self.entity_pipeline);
|
||||
|
||||
rpass.set_pipeline(&self.entity_pipeline);
|
||||
for entity in self.entities.iter() {
|
||||
rpass.set_vertex_buffer(0, entity.vertex_buf.slice(..));
|
||||
rpass.draw(0..entity.vertex_count, 0..1);
|
||||
|
Loading…
Reference in New Issue
Block a user