X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_alias.h;h=272b69c3ce7a2f0d322775e69238bd972a14712a;hb=6f8ed711f9dcacac8ca7ce254dd81eb7af1cef05;hp=9b769bda84e43d7cf56e8061ca6b042e101c4803;hpb=f9d8bc7ea04ff91fcbd90fe50a299b37724b349b;p=xonotic%2Fdarkplaces.git diff --git a/model_alias.h b/model_alias.h index 9b769bda..272b69c3 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; @@ -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 +float mod_md3_sin[320]; + #endif