197 |
|
|
198 |
|
int |
199 |
|
getmeshvert(vp, mp, vid, what) /* get triangle vertex from ID */ |
200 |
< |
MESHVERT*vp; |
201 |
< |
MESH *mp; |
202 |
< |
int4 vid; |
203 |
< |
int what; |
200 |
> |
MESHVERT *vp; |
201 |
> |
MESH *mp; |
202 |
> |
int4 vid; |
203 |
> |
int what; |
204 |
|
{ |
205 |
|
int pn = vid >> 8; |
206 |
|
MESHPATCH *pp; |
504 |
|
if (mp->ldflags & IO_BOUNDS) { |
505 |
|
if (mp->mcube.cusize <= FTINY) |
506 |
|
return("illegal octree bounds in mesh"); |
507 |
< |
nouvbounds = (mp->uvlim[0][1] - mp->uvlim[0][0] <= FTINY || |
508 |
< |
mp->uvlim[1][1] - mp->uvlim[1][0] <= FTINY); |
507 |
> |
nouvbounds = (mp->uvlim[1][0] - mp->uvlim[0][0] <= FTINY || |
508 |
> |
mp->uvlim[1][1] - mp->uvlim[0][1] <= FTINY); |
509 |
|
} |
510 |
|
/* check octree */ |
511 |
|
if (mp->ldflags & IO_TREE) { |