コード例 #1
0
 public M2UVAnimation(M2File file, ref M2TexAnim texAnim, BinaryReader reader)
 {
     mTranslation = new M2Vector3AnimationBlock(file, texAnim.translation, reader);
     mRotation    = new M2InvQuaternion16AnimationBlock(file, texAnim.rotation, reader);
     mScaling     = new M2Vector3AnimationBlock(file, texAnim.scaling, reader, Vector3.One);
 }
コード例 #2
0
ファイル: M2UVAnimation.cs プロジェクト: Linrasis/WoWEditor
 public M2UVAnimation(M2File file, ref M2TexAnim texAnim, BinaryReader reader)
 {
     mTranslation = new M2Vector3AnimationBlock(file, texAnim.translation, reader);
     mRotation = new M2InvQuaternion16AnimationBlock(file, texAnim.rotation, reader);
     mScaling = new M2Vector3AnimationBlock(file, texAnim.scaling, reader, Vector3.One);
 }