Dura2D
v0.1.0
An educational 2D game physics library
|
#include <d2Force.h>
Static Public Member Functions | |
static d2Vec2 | GenerateDragForce (const d2Body &body, real k) |
static d2Vec2 | GenerateFrictionForce (const d2Body &body, real k) |
static d2Vec2 | GenerateSpringForce (const d2Body &body, d2Vec2 anchor, real restLength, real k) |
static d2Vec2 | GenerateGravitationalForce (const d2Body &a, const d2Body &b, real G, real minDistance, real maxDistance) |
|
static |
|
static |