Changeset c1ec4f6 in opengl-game for sdl-game.hpp
- Timestamp:
- Jun 11, 2021, 2:35:32 PM (4 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.hpp
rb7fc3c2 rc1ec4f6 102 102 mat4 model_transform; 103 103 104 bool modified;105 106 104 // TODO: Figure out if I should make child classes that have these fields instead of putting them in the 107 105 // parent class … … 117 115 // Could probably use the same approach to make indices optional 118 116 // Figure out if there are sufficient use cases to make either of these optional or is it fine to make 119 // them ma mdatory117 // them mandatory 120 118 121 119 … … 366 364 } 367 365 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) }); 369 367 objectBuffer.add(ssbo); 370 368
Note:
See TracChangeset
for help on using the changeset viewer.