1. pygame
  2. Untitled project
  3. pygame

Source

pygame / src / pgBody.h

#ifndef _PYGAME_PHYSICS_BODY_
#define _PYGAME_PHYSICS_BODY_

typedef struct _pgBody{
	
	pgReal		fMass;
	pgVector2	vecLinearVelocity;
	pgReal		fAngleVelocity;

	pgVector2	vecPosition;
	pgReal		fRotation;
	pgVector2	vecImpulse;
	pgVector2	vecForce;
	pgReal		fTorque;
} pgBody;



#endif //_PYGAME_PHYSICS_BODY_