2
0
Эх сурвалжийг харах

Fixed a warning caused by aiVector3D appearing in a packed struct, causing it to fail to pack as requested.

Jared Mulconry 8 жил өмнө
parent
commit
8dabd76e03
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      code/MDLFileData.h

+ 3 - 3
code/MDLFileData.h

@@ -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;