move gears along their axis with the mousewheel
[antikythera] / src / gear.cc
index f6872cf..c916e76 100644 (file)
@@ -48,6 +48,11 @@ void Gear::set_axis(const Vec3 &axis)
        xform_valid = false;
 }
 
+const Vec3 &Gear::get_axis() const
+{
+       return axis;
+}
+
 void Gear::set_position(const Vec3 &pos)
 {
        this->pos = pos;