refactor: state into namespace

This commit is contained in:
2025-10-13 17:17:28 +02:00
parent 4e2c62aaf4
commit 74a0bfca41
9 changed files with 19 additions and 27 deletions

View File

@@ -27,8 +27,8 @@ void Model::draw()
// Scale
model = glm::scale(model, scale_);
// Set the model matrix in State
State::model_matrix_ = model;
// Set the model matrix in state
state::model_matrix = model;
// Draw the mesh
mesh_->draw();