75 |
V2 last_pos; // Position before current tick |
V2 last_pos; // Position before current tick |
76 |
V2 oldpos; // Backup position for enter/leave notification |
V2 oldpos; // Backup position for enter/leave notification |
77 |
V2 force; // Force used during tick |
V2 force; // Force used during tick |
78 |
|
std::vector<V2> contact_normals; // Normal vectors of current contacts |
79 |
}; |
}; |
80 |
|
|
81 |
/* |
/* |
130 |
}; |
}; |
131 |
|
|
132 |
// Which of the four faces of the stone does the actor touch? |
// Which of the four faces of the stone does the actor touch? |
133 |
Direction contact_face(const StoneContact &sc); |
Direction contact_face (const StoneContact &sc); |
134 |
DirectionBits contact_faces(const StoneContact &sc); |
DirectionBits contact_faces (const StoneContact &sc); |
135 |
} |
} |
136 |
|
|
137 |
namespace world |
namespace world |