Linderdaum Engine: Body Struct Reference
Updated: Sun Feb 5 2012 22:59:48
Body Struct Reference

#include <BoxLite.h>

List of all members.

Public Member Functions

 Body ()
void Set (const Vec2 &w, float m)
void AddForce (const Vec2 &f)

Public Attributes

Vec2 width
Vec2 position
Vec2 velocity
Vec2 force
float rotation
float angularVelocity
float torque
float friction
float mass
float invMass
float I
float invI

Constructor & Destructor Documentation

Body::Body ( ) [inline]

Member Function Documentation

void Body::AddForce ( const Vec2 f) [inline]
void Body::Set ( const Vec2 w,
float  m 
)

Member Data Documentation


The documentation for this struct was generated from the following files: