mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
fixed global to local position method
This commit is contained in:
@@ -108,6 +108,8 @@ namespace vb01{
|
||||
rotAxis = Vector3::VEC_I;
|
||||
}
|
||||
|
||||
//rotAxis = (boneChain[i]->getInitAxis(0) * rotAxis.x + boneChain[i]->getInitAxis(1) * rotAxis.y + boneChain[i]->getInitAxis(2) * rotAxis.z).norm();
|
||||
|
||||
boneAngles[i] = angle;
|
||||
axis[i] = rotAxis;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user