Moving a shape#
⚡ Live programming
Starting with the template
Getting rid of unnecessary parts
creating a new function for updating the shapes because
if(!WindowShouldClose())is already two times indented which bloats the view.
Creating a shape struct
using a
typedefor not(creating a self-reference if not shown before)
Implementing a function that updates the ball for each frame
(Bouncing)