move gears along their axis with the mousewheel
[antikythera] / src / gear.h
index e8796e9..7f230e4 100644 (file)
@@ -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