Project

General

Profile

Revision 1173

Added by Nico Paris about 15 years ago

Added circle collisions

View differences:

branches/simulator/projects/simulator/simulator/core/world.h
56 56
} poly_t;
57 57

  
58 58
typedef struct {
59
	double radius;
60
	point_t center;
61
} circle_t;
62

  
63
typedef struct {
59 64
    int id;
60 65
    bbox_t *bbox;
61 66
    void *props; /* shape-specific properties */

Also available in: Unified diff