Fixed a warning caused by aiVector3D appearing in a packed struct, causing it to...
authorJared Mulconry <jaredmulconry@gmail.com>
Sun, 24 Sep 2017 11:19:03 +0000 (21:19 +1000)
committerJared Mulconry <jaredmulconry@gmail.com>
Sun, 24 Sep 2017 11:19:03 +0000 (21:19 +1000)
code/MDLFileData.h

index 2afea8a..3ef58ca 100644 (file)
@@ -126,16 +126,16 @@ struct Header {
     int32_t version;
 
     //! scale factors for each axis
-    aiVector3D scale;
+    ai_real scale[3];
 
     //! translation factors for each axis
-    aiVector3D translate;
+    ai_real translate[3];
 
     //! bounding radius of the mesh
     float boundingradius;
 
     //! Position of the viewer's exe. Ignored
-    aiVector3D vEyePos;
+    ai_real vEyePos[3];
 
     //! Number of textures
     int32_t num_skins;