projects
/
antikythera
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- added subgear linkage
[antikythera]
/
src
/
machine.h
diff --git
a/src/machine.h
b/src/machine.h
index
86caa48
..
e0f2155
100644
(file)
--- a/
src/machine.h
+++ b/
src/machine.h
@@
-2,6
+2,7
@@
#define MACHINE_H_
#include <vector>
+#include <map>
#include "gear.h"
struct Motor {
@@
-12,6
+13,7
@@
struct Motor {
class Machine {
private:
std::vector<Gear*> gears;
+ std::map<Gear*, int> gearidx;
bool **meshing;
bool meshing_valid;
bool *visited; /* used for update_gear */