Bachelor Project (thesis) @USI. Extension of https://github.com/carzaniga/flying-balls. A simple 2D simulation/game of flying balls and polygons
Go to file
2023-05-06 14:05:45 +02:00
.gitignore Added entries to gitignore 2023-03-10 21:31:52 +01:00
balls.cc GUI controls for restitution coefficient and gravity field 2022-12-28 18:50:12 +01:00
balls.h GUI controls for restitution coefficient and gravity field 2022-12-28 18:50:12 +01:00
c_index.cc 2D vector objects for positions, velocities, etc. 2022-06-01 11:09:35 +02:00
c_index.h basic modularization of ball and ball_face classes 2022-05-30 18:05:53 +02:00
collisions.cc Refactored collision detection (last version before changing the algo) 2023-04-25 12:09:07 +02:00
collisions.h Refactored collision detection (last version before changing the algo) 2023-04-25 12:09:07 +02:00
game.cc first, basic transition to C++ 2022-05-30 15:59:45 +02:00
game.h Quick refactoring and reformating 2023-04-21 09:01:35 +02:00
gravity.cc GUI controls for restitution coefficient and gravity field 2022-12-28 18:50:12 +01:00
gravity.h GUI controls for restitution coefficient and gravity field 2022-12-28 18:50:12 +01:00
main.cc Generator now makes the polygons origin at their center of mass, easier for rotation 2023-03-20 15:33:35 +01:00
Makefile got the speed working (yay) but the angular velocity that results is superrrr low, thus not creating any rotation after impact, wierd... 2023-04-02 21:53:21 +02:00
matrix.h Generator now makes the polygons origin at their center of mass, easier for rotation 2023-03-20 15:33:35 +01:00
polygon_generator.cc Added general polygon generation WITH CORRECT INERTIA YUHUU 2023-05-06 14:05:45 +02:00
polygon_generator.h Added general polygon generation WITH CORRECT INERTIA YUHUU 2023-05-06 14:05:45 +02:00
polygons.cc Added new polygons in polygons_init_state() and now drawing the point of 2023-04-25 12:05:39 +02:00
polygons.h got the speed working (yay) but the angular velocity that results is superrrr low, thus not creating any rotation after impact, wierd... 2023-04-02 21:53:21 +02:00
spaceship.cc Reformated main.cc and spaceship.cc 2023-03-14 21:45:20 +01:00
spaceship.h basic modularization of ball and ball_face classes 2022-05-30 18:05:53 +02:00
stats.cc first, basic transition to C++ 2022-05-30 15:59:45 +02:00
stats.h modularization: main, game, balls, c_index, spaceship, gravity 2021-12-11 21:32:48 +01:00
vec2d.h Added general polygon generation WITH CORRECT INERTIA YUHUU 2023-05-06 14:05:45 +02:00