76 |
struct StoneContact |
struct StoneContact |
77 |
{ |
{ |
78 |
// Constructor. |
// Constructor. |
79 |
StoneContact(Actor *a, Stone *s, |
StoneContact(Actor *a, GridPos p, |
80 |
const V3 &cp, const V3 &n); |
const V3 &cp, const V3 &n); |
81 |
StoneContact(); |
StoneContact(); |
82 |
|
|
83 |
// Variables. |
// Variables. |
84 |
Actor *actor; |
Actor *actor; |
85 |
Stone *stone; |
//Stone *stone; |
86 |
|
GridPos stonepos; |
87 |
StoneResponse response; |
StoneResponse response; |
88 |
|
|
89 |
V3 contact_point; // where do the shapes meet? (world coords) |
V3 contact_point; // where do the shapes meet? (world coords) |