]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_alias.h
logarithm
[xonotic/darkplaces.git] / model_alias.h
index 9b769bda84e43d7cf56e8061ca6b042e101c4803..6df1e01153f70876d9cc7c3e8f55c87be0a398bb 100644 (file)
@@ -129,7 +129,9 @@ typedef struct md2_s
 // the pitch and yaw are encoded as 8 bits each
 typedef struct md3vertex_s
 {
-       short origin[3], normalpitchyaw;
+       short origin[3];
+       unsigned char pitch;
+       unsigned char yaw;
 }
 md3vertex_t;
 
@@ -210,7 +212,7 @@ md3modelheader_t;
 typedef struct aliastag_s
 {
        char name[MD3NAME];
-       matrix4x4_t matrix;
+       float matrixgl[12];
 }
 aliastag_t;
 
@@ -228,5 +230,8 @@ aliasbone_t;
 
 #include "model_psk.h"
 
+// for decoding md3 model latlong vertex normals
+extern float mod_md3_sin[320];
+
 #endif