]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_alias.h
improved plane distance epsilon checking and improved precision when converting brush...
[xonotic/darkplaces.git] / model_alias.h
index 9b769bda84e43d7cf56e8061ca6b042e101c4803..26e6492959f66cf6b9a28eb745a5130bbb414301 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;
 
@@ -228,5 +230,8 @@ aliasbone_t;
 
 #include "model_psk.h"
 
+// for decoding md3 model latlong vertex normals
+float mod_md3_sin[320];
+
 #endif