A small aquarium project using SDL2 and c++. This project contains self made rectangle collision detection and resolution as well as redirection based on angle of collision. No other libraries were used beside SDL2.
Although the project could be improved in quite a few areas with some effort, mostly regarding exceptions with heap memory management(cleanup) in Graphics(probably use smart pointers, didn't bother) and small performance tweaks(mostly regarding collision vectors), as well as some code "cleanliness". Although I know of these issues, this project can use up to around 3500~ elements before there's any real resemblance of a performance hit so I believe this is enough for the scope of this project.
x86 release build: https://1drv.ms/u/s!ApOH5Od3tcbAlXX9-u3M5eQhd4ok?e=N8jCcF
Sample video: https://i.imgur.com/wLTGsFH.mp4