mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
changed pose orientation calculation
This commit is contained in:
+2
-4
@@ -101,14 +101,12 @@ namespace vb01{
|
||||
Node *parent = skeleton->getBone(parName);
|
||||
if(!parent){
|
||||
parent = model;
|
||||
swap(xAxis.y, xAxis.z);
|
||||
xAxis.z = -xAxis.z;
|
||||
swap(pos.y, pos.z);
|
||||
pos.z = -pos.z;
|
||||
swap(yAxis.y, yAxis.z);
|
||||
yAxis.z = -yAxis.z;
|
||||
swap(zAxis.y, zAxis.z);
|
||||
zAxis.z = -zAxis.z;
|
||||
swap(pos.y, pos.z);
|
||||
pos.z = -pos.z;
|
||||
/*
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user