Added initial stuff for simple lines
added beginning construct of the line linked list. Copied initially from the circle linked list
added tools for basic computations. This one has the distance between a finite line and a point
can now draw a line
added circle to line interaction. circles bounce off of lines
Added normal vector computation to the ball-line collision. Normal vector computes the normal of the collision in the direction of the ball and the length to the ball center from the collision point. Still not considering the line edge. Not yet doing anything with this vector at this point.
added ball bouncing off surface using the normal from the opint of contact
Fixed collision logic. Balls now bounce off lines properly. Still need to fix how balls roll on lines.
Ellastisity now affects balls in the direction of the normal direction of contact. This way, there is no slowing down the balls during contact with the lines
can now draw multiple lines
introduced initial logic for circle collision and intersection. Not implemented in any way
Initial circle to circle interaction logic in there. Some more work fixing out how they interact still needed.
Fixed bug with not all circles colliding with eachother
Fixed ball collision physics
A little more interesting initial setup.
Can now define the lines for the balls to bounce off of