Select stuff (hit detection is still off)
This commit is contained in:
@@ -140,8 +140,7 @@ impl Drawcall for DefaultShader {
|
||||
for i in 0..game_data.game_objects.len() {
|
||||
let game_object = &game_data.game_objects[i];
|
||||
let mesh = &game_data.meshes[game_object.mesh_index];
|
||||
let mut push_constants = game_data.push_constants.clone();
|
||||
push_constants.model = game_object.get_model_matrix().into();
|
||||
let push_constants = game_object.get_push_constants();
|
||||
|
||||
builder.draw_indexed(
|
||||
self.pipeline.clone(),
|
||||
|
||||
Reference in New Issue
Block a user