mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-18 13:41:37 +00:00
Fix forgotten IQM2 support in iqm.h, patch by Zack Middleton
This commit is contained in:
parent
fa3b3978f6
commit
c2b7f5173f
2 changed files with 5 additions and 5 deletions
|
@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define __IQM_H__
|
||||
|
||||
#define IQM_MAGIC "INTERQUAKEMODEL"
|
||||
#define IQM_VERSION 1
|
||||
#define IQM_VERSION 2
|
||||
|
||||
#define IQM_MAX_JOINTS 128
|
||||
|
||||
|
@ -86,15 +86,15 @@ typedef struct iqmjoint
|
|||
{
|
||||
unsigned int name;
|
||||
int parent;
|
||||
float translate[3], rotate[3], scale[3];
|
||||
float translate[3], rotate[4], scale[3];
|
||||
} iqmJoint_t;
|
||||
|
||||
typedef struct iqmpose
|
||||
{
|
||||
int parent;
|
||||
unsigned int mask;
|
||||
float channeloffset[9];
|
||||
float channelscale[9];
|
||||
float channeloffset[10];
|
||||
float channelscale[10];
|
||||
} iqmPose_t;
|
||||
|
||||
typedef struct iqmanim
|
||||
|
|
|
@ -726,7 +726,7 @@ R_ComputeIQMFogNum
|
|||
int R_ComputeIQMFogNum( iqmData_t *data, trRefEntity_t *ent ) {
|
||||
int i, j;
|
||||
fog_t *fog;
|
||||
vec_t *bounds;
|
||||
const vec_t *bounds;
|
||||
const vec_t defaultBounds[6] = { -8, -8, -8, 8, 8, 8 };
|
||||
vec3_t diag, center;
|
||||
vec3_t localOrigin;
|
||||
|
|
Loading…
Reference in a new issue