move gears along their axis with the mousewheel
[antikythera] / src / gear.h
index 45a3d13..7f230e4 100644 (file)
@@ -71,10 +71,14 @@ public:
        Gear();
        ~Gear();
 
+       void set_angular_offset(float offs);
+       float get_angular_offset() const;
+
        // sets the supplied number of teeth, and calculates the radius
        // 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