X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_alias.h;h=26e6492959f66cf6b9a28eb745a5130bbb414301;hb=1ca72567ff491c3ef09329d3373802ed6cdb9a38;hp=9b769bda84e43d7cf56e8061ca6b042e101c4803;hpb=f9d8bc7ea04ff91fcbd90fe50a299b37724b349b;p=xonotic%2Fdarkplaces.git diff --git a/model_alias.h b/model_alias.h index 9b769bda..26e64929 100644 --- a/model_alias.h +++ b/model_alias.h @@ -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