Skip to content

Commit

Permalink
chore: formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJPinto committed May 20, 2024
1 parent 8c9cd9c commit c5641fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/src/group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void Group::drawGroup(bool lights) {
glMultMatrixf(matrixArray);

for (Model& model : this->models) {
if(lights) {
if (lights) {
setupMaterial(model.material);
}

Expand Down
4 changes: 2 additions & 2 deletions engine/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ void renderScene(void) {
drawAxis();

bool lights = c.lights.size() != 0;
if(lights) {
if (lights) {
drawLights(c.lights);
}
}

c.group.drawGroup(lights);

Expand Down

0 comments on commit c5641fe

Please sign in to comment.