Skip to content

A 2D physics engine using a point as the only primitive. For a college mini-project.

Notifications You must be signed in to change notification settings

shashi/2d-physics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A 2D physics engine using a point as the only primitive. For a college mini-project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published