refactor: state into namespace
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user