X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=antikythera;a=blobdiff_plain;f=src%2Fgear.h;fp=src%2Fgear.h;h=7f230e4a1b099c2b33b53c2da3382087426764bd;hp=e8796e90c56de7cdb1125a9c9d7b2d03a895c3f2;hb=b29d7193d03833109cfdda3ab576fe183efd8acf;hpb=80bcc959131067cc774b85cc1f63e81d8b5a012a diff --git a/src/gear.h b/src/gear.h index e8796e9..7f230e4 100644 --- a/src/gear.h +++ b/src/gear.h @@ -78,6 +78,7 @@ public: // of the gear, to achieve the required tooth pitch void set_teeth(int nt, float tooth_pitch); void set_axis(const Vec3 &axis); + const Vec3 &get_axis() const; void set_position(const Vec3 &pos); const Vec3 &get_position() const; Vec3 get_global_position() const; // taking parent gear into account