50 |
|
typedef struct { |
51 |
|
uint32 (*xyz)[3]; /* up to 256 patch vertices */ |
52 |
|
int32 *norm; /* vertex normals */ |
53 |
< |
uint16 (*uv)[2]; /* vertex local coordinates */ |
53 |
> |
uint32 (*uv)[2]; /* vertex local coordinates */ |
54 |
|
struct PTri { |
55 |
|
BYTE v1, v2, v3; /* local vertices */ |
56 |
|
} *tri; /* local triangles */ |
111 |
|
/* mesh format identifier */ |
112 |
|
#define MESHFMT "Radiance_tmesh" |
113 |
|
/* magic number for mesh files */ |
114 |
< |
#define MESHMAGIC ( 2 *MAXOBJSIZ+311) /* increment first value */ |
114 |
> |
#define MESHMAGIC ( 1 *MAXOBJSIZ+311) /* increment first value */ |
115 |
|
|
116 |
|
|
117 |
|
extern MESH *getmesh(char *mname, int flags); |
136 |
|
} |
137 |
|
#endif |
138 |
|
#endif /* _RAD_MESH_H_ */ |
139 |
– |
|