X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=antikythera;a=blobdiff_plain;f=src%2Fgear.cc;h=c916e765c389519e8405ce3059f220ef3ed0406e;hp=f6872cf17563d2a04a3636d43f9ab67e73585ff4;hb=b29d7193d03833109cfdda3ab576fe183efd8acf;hpb=80bcc959131067cc774b85cc1f63e81d8b5a012a diff --git a/src/gear.cc b/src/gear.cc index f6872cf..c916e76 100644 --- a/src/gear.cc +++ b/src/gear.cc @@ -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;