Changeset 3950236 in opengl-game for vulkan-game.hpp
- Timestamp:
- Apr 19, 2020, 3:39:41 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 7297892
- Parents:
- 1f81ecc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r1f81ecc r3950236 96 96 vec3 center; // currently only matters for asteroids 97 97 float radius; // currently only matters for asteroids 98 SceneObject<AsteroidVertex, SSBO_Asteroid>* targetAsteroid; // currently only used for lasers 98 99 }; 99 100 … … 271 272 void addLaser(vec3 start, vec3 end, vec3 color, float width); 272 273 void translateLaser(size_t index, const vec3& translation); 274 void updateLaserTarget(size_t index); 275 bool getLaserAndAsteroidIntersection(SceneObject<AsteroidVertex, SSBO_Asteroid>& asteroid, 276 vec3& start, vec3& end, vec3& intersection); 273 277 274 278 // TODO: Since addObject() returns a reference to the new object now,
Note:
See TracChangeset
for help on using the changeset viewer.