Changeset 5192672 in opengl-game for vulkan-game.cpp
- Timestamp:
- Mar 7, 2021, 11:05:27 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 429ac01
- Parents:
- 317ad13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.cpp
r317ad13 r5192672 823 823 } 824 824 825 switch (e.type) {825 switch (e.type) { 826 826 case UI_EVENT_QUIT: 827 827 cout << "Quit event detected" << endl; … … 1047 1047 BaseEffectOverTime* eot = *it; 1048 1048 1049 eot->applyEffect( );1049 eot->applyEffect(curTime); 1050 1050 1051 1051 it++; … … 2043 2043 // TODO: Use some sort of smart pointer instead 2044 2044 eot = new EffectOverTime<AsteroidVertex, SSBO_Asteroid>(asteroidPipeline, asteroidObjects, closestAsteroidIndex, 2045 offset_of(&SSBO_Asteroid::hp), -20.0f);2045 offset_of(&SSBO_Asteroid::hp), curTime, -20.0f); 2046 2046 effects.push_back(eot); 2047 2047 } … … 2064 2064 laser.vertices[7].pos.z = -length; 2065 2065 2066 // TODO: Consider if I want to set a flag and do this update in inupdateScene() instead2066 // TODO: Consider if I want to set a flag and do this update in updateScene() instead 2067 2067 updateObjectVertices(this->laserPipeline, laser, index); 2068 2068 }
Note:
See TracChangeset
for help on using the changeset viewer.