Beispiel #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);
 }
Beispiel #2
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);
 }