Skip to content

kalpitborkar/2D-Physics-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D-Physics-Engine

A simple 2D Physics library written in C++.

Structure

Particle

A Particle is an object representing a physical particle in Environment.
A Particle has a mass, speed, position, size, elasticity and other properties.

Spring

A Spring is an object representing a physical spring in Environment.
A Spring has two Particles attached to it's either ends. A Spring has length and strength properties.

Environment

The Environment class represents the environment in which the simulation is occuring.
An Environment holds multiple Particle and Spring objects during simulation.

License

Distributed under the MIT License. See LICENSE.md for more information.

References