19 lines
925 B
C
19 lines
925 B
C
void InitPhysics(void)
|
|
void UpdatePhysics(void)
|
|
void ResetPhysics(void)
|
|
void ClosePhysics(void)
|
|
void SetPhysicsTimeStep(double delta)
|
|
void SetPhysicsGravity(float x, float y)
|
|
PhysicsBody CreatePhysicsBodyCircle(Vector2 pos, float radius, float density)
|
|
PhysicsBody CreatePhysicsBodyRectangle(Vector2 pos, float width, float height, float density)
|
|
PhysicsBody CreatePhysicsBodyPolygon(Vector2 pos, float radius, int sides, float density)
|
|
void DestroyPhysicsBody(PhysicsBody body)
|
|
void PhysicsAddForce(PhysicsBody body, Vector2 force)
|
|
void PhysicsAddTorque(PhysicsBody body, float amount)
|
|
void PhysicsShatter(PhysicsBody body, Vector2 position, float force)
|
|
void SetPhysicsBodyRotation(PhysicsBody body, float radians)
|
|
PhysicsBody GetPhysicsBody(int index)
|
|
int GetPhysicsBodiesCount(void)
|
|
int GetPhysicsShapeType(int index)
|
|
int GetPhysicsShapeVerticesCount(int index)
|
|
Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex) |