I am in need of a physics engine for my game. I know that there are already physics engines out there, but I want to create my own from scratch. It's nothing more then knowing the formulas and how to implement them right? What I am asking for is what would be the best way to integrate this into code. With the use of classes and structs or using functions ?