blob: f4b932ccb0283db93d88259b88e2dd871864ea08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef SOLID_H_
#define SOLID_H_
#include <vector>
#include "StructProperty.h"
#define NSOLID 16
struct Solid
{
int first, last;
float vx, vy, vrot;
float cx, cy; // centroid position
float ax, ay, arot, arad; // accumulators
int an;
unsigned char bf; // blocking flags
float bpx[4], bpy[4]; // blocking position extents
float bdx[4], bdy[4]; // blocking position orientation
int bp[4]; // blocking counterparticle ID
};
#endif
|