Changeset 4ece3bf in opengl-game for vulkan-game.hpp


Ignore:
Timestamp:
Jan 21, 2020, 6:14:09 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
5a1ace0
Parents:
3e8cc8b
Message:

In VulkanGame, add the ability to delete asteroids and move them at a constant speed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.hpp

    r3e8cc8b r4ece3bf  
    7070   alignas(16) mat4 model;
    7171   alignas(4) float hp;
     72   alignas(4) unsigned int deleted;
    7273};
    7374
     
    194195      UBO_VP_mats asteroid_VP_mats;
    195196      SBO_Asteroid so_Asteroid;
     197
     198      Uint64 curTime, prevTime;
     199      double elapsedTime;
    196200
    197201      bool initWindow(int width, int height, unsigned char guiFlags);
Note: See TracChangeset for help on using the changeset viewer.