Components
This commit is contained in:
@@ -330,7 +330,7 @@ impl VulkanRenderer {
|
||||
for i in 0..self.game_data.game_objects.len() {
|
||||
let game_object = &self.game_data.game_objects[i];
|
||||
let mesh = &self.game_data.meshes[game_object.mesh_index];
|
||||
self.game_data.push_constants.model = game_object.model_matrix.into();
|
||||
self.game_data.push_constants.model = game_object.get_model_matrix().into();
|
||||
|
||||
builder.draw_indexed(
|
||||
self.pipeline.clone(),
|
||||
|
||||
Reference in New Issue
Block a user