A 2D physics engine using a point as the only primitive. For a college mini-project.
C C++
Pull request Compare This branch is 1 commit ahead of shashi:collisions.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes
lib
prototype
simulator
.gitignore
Makefile
README.md
_main.cc
main.cc

README.md

Introduction

This is some code I wrote for a college mini-project. Basic shapes are rectangles and circles (see classes/) A system is a collection of any number of shapes and forces acting on them. System.AddTime(float dt) method is used to advance the state of the system by dt seconds. System.draw is used to draw it.

See main.cc for an example program using the library.

TODO

Rewrite in C