projects
/
antikythera
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed libresman renamed resman_lookup to resman_add
[antikythera]
/
src
/
machine.h
diff --git
a/src/machine.h
b/src/machine.h
index
e0f2155
..
097157d
100644
(file)
--- a/
src/machine.h
+++ b/
src/machine.h
@@
-29,6
+29,8
@@
public:
void add_gear(Gear *g); /* takes ownership */
void add_motor(int gearidx, float speed_hz);
void add_gear(Gear *g); /* takes ownership */
void add_motor(int gearidx, float speed_hz);
+ int get_gear_index(Gear *g) const;
+
void invalidate_meshing();
void calc_meshing();
void invalidate_meshing();
void calc_meshing();