Changeset 5ba732a in opengl-game for vulkan-game.hpp
- Timestamp:
- Apr 19, 2020, 1:55:16 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 6104594
- Parents:
- 4994692
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r4994692 r5ba732a 77 77 mat4 model_base; 78 78 mat4 model_transform; 79 80 bool modified; 79 81 80 82 // TODO: Figure out if I should make child classes that have these fields instead of putting them in the … … 295 297 } 296 298 297 objects.push_back({ vertices, indices, ssbo, mat4(1.0f), mat4(1.0f) });299 objects.push_back({ vertices, indices, ssbo, mat4(1.0f), mat4(1.0f), false }); 298 300 299 301 SceneObject<VertexType, SSBOType>& obj = objects.back(); … … 333 335 334 336 pipeline.updateObject(index, obj.ssbo); 337 338 obj.modified = false; 335 339 } 336 340
Note:
See TracChangeset
for help on using the changeset viewer.