X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpose.cpp;h=99fa6bb3dfe812265a8e2372ddd9c1daad5f887a;hp=7433626fb2e6c8db303809e6bff127385a7c6b5e;hb=4e4a3514961d130045619ea74d0bbab71580838c;hpb=2b779717e42b514210f7128cf9aee2276650e003 diff --git a/source/pose.cpp b/source/pose.cpp index 7433626f..99fa6bb3 100644 --- a/source/pose.cpp +++ b/source/pose.cpp @@ -37,7 +37,7 @@ void Pose::rotate_link(unsigned i, float angle, const Vector3 &axis) // Keep the base point stationary Vector3 base = arm_link.get_base(); Vector3 new_base = links[i].local_matrix*base; - links[i].local_matrix = GL::Matrix::translation(base-new_base)*links[i].local_matrix; + links[i].local_matrix = Matrix::translation(base-new_base)*links[i].local_matrix; if(const Armature::Link *parent = arm_link.get_parent()) links[i].matrix = links[parent->get_index()].matrix*links[i].local_matrix;