• R/O
  • SSH
  • HTTPS

mmdx: Commit


Commit MetaInfo

Revision850 (tree)
Zeit2011-06-12 18:30:21
Autorwilfrem

Log Message

MMDMotionStateの古いコードを削除

Ändern Zusammenfassung

Diff

--- branches/XNA4/MikuMikuDanceCore/Model/Physics/MMDMotionState.cs (revision 849)
+++ branches/XNA4/MikuMikuDanceCore/Model/Physics/MMDMotionState.cs (revision 850)
@@ -63,11 +63,9 @@
6363 //初期の姿勢をMotionStateに設定
6464 btTransform startTrans;
6565 MMDXMath.TobtTransform(ref startTransform, out startTrans);
66- //m_graphicsWorldTrans = new btTransform[2];
67-
66+
6867
69- m_graphicsWorldTrans/*[0]*/ = startTrans;
70- //m_graphicsWorldTrans[1] = startTrans;
68+ m_graphicsWorldTrans = startTrans;
7169 m_centerOfMassOffset = btTransform.Identity;
7270 m_startWorldTrans = startTrans;
7371 //これからの計算ように確保
@@ -86,19 +84,15 @@
8684 temp = m_rigidBias * m_model.BoneManager[RelatedBoneName].GlobalTransform;
8785 Matrix.Multiply(ref temp, ref temp3, out temp2);
8886 if (!reset)
89- //m_graphicsWorldTrans/*[PhysicsThreadManager.Instanse.BufferNum]*/ = new btTransform(ref temp2);
9087 MMDXMath.TobtTransform(ref temp2,out m_graphicsWorldTrans);
9188 else
9289 {
93- //m_graphicsWorldTrans/*[0]*/ = new btTransform(ref temp2);
9490 MMDXMath.TobtTransform(ref temp2, out m_graphicsWorldTrans);
95- //m_graphicsWorldTrans[1] = m_graphicsWorldTrans[0];
9691 }
9792 }
9893 else
9994 {
10095 Matrix RigidPos;
101- //m_graphicsWorldTrans/*[PhysicsThreadManager.Instanse.BufferNum]*/.getXNAMatrix(out RigidPos);
10296 MMDXMath.ToMatrix(ref m_graphicsWorldTrans, out RigidPos);
10397 Matrix temp1, temp2, temp3;
10498 Matrix.Invert(ref m_rigidBias, out temp1);
Show on old repository browser