Dura2D  v0.1.0
An educational 2D game physics library
Loading...
Searching...
No Matches
d2Contact.h
Go to the documentation of this file.
1#ifndef CONTACT_H
2#define CONTACT_H
3
4#include "dura2d/d2api.h"
5
6class d2Body;
7struct d2Vec2;
8
20
21#endif
A class representing a 2D rigid body.
Definition d2Body.h:28
float real
Definition d2Types.h:10
#define D2_API
Definition d2api.h:27
Definition d2Contact.h:10
real depth
Definition d2Contact.h:18
d2Vec2 normal
Definition d2Contact.h:17
d2Vec2 start
Definition d2Contact.h:14
d2Body * b
Definition d2Contact.h:12
d2Vec2 end
Definition d2Contact.h:15
d2Body * a
Definition d2Contact.h:11
Represents a 2D vector.
Definition d2Math.h:22