Changeset c1ec4f6 in opengl-game for sdl-game.hpp


Ignore:
Timestamp:
Jun 11, 2021, 2:35:32 PM (3 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
6486ba8
Parents:
b7fc3c2
git-author:
Dmitry Portnoy <dportnoy@…> (06/10/21 21:37:02)
git-committer:
Dmitry Portnoy <dportnoy@…> (06/11/21 14:35:32)
Message:

Remove the modified field from the SceneObject object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sdl-game.hpp

    rb7fc3c2 rc1ec4f6  
    102102   mat4 model_transform;
    103103
    104    bool modified;
    105 
    106104   // TODO: Figure out if I should make child classes that have these fields instead of putting them in the
    107105   // parent class
     
    117115// Could probably use the same approach to make indices optional
    118116// Figure out if there are sufficient use cases to make either of these optional or is it fine to make
    119 // them mamdatory
     117// them mandatory
    120118
    121119
     
    366364   }
    367365
    368    objects.push_back({ vertices, indices, ssbo, mat4(1.0f), mat4(1.0f), false });
     366   objects.push_back({ vertices, indices, ssbo, mat4(1.0f), mat4(1.0f) });
    369367   objectBuffer.add(ssbo);
    370368
Note: See TracChangeset for help on using the changeset viewer.