57 |
|
ourmesh->nref = 1; |
58 |
|
ourmesh->ldflags = 0; |
59 |
|
ourmesh->mcube.cutree = EMPTY; |
60 |
< |
ourmesh->uvlim[0][0] = ourmesh->uvlim[1][0] = FHUGE; |
61 |
< |
ourmesh->uvlim[0][1] = ourmesh->uvlim[1][1] = -FHUGE; |
60 |
> |
ourmesh->uvlim[0][0] = ourmesh->uvlim[0][1] = FHUGE; |
61 |
> |
ourmesh->uvlim[1][0] = ourmesh->uvlim[1][1] = -FHUGE; |
62 |
|
meshbounds[0][0] = meshbounds[0][1] = meshbounds[0][2] = FHUGE; |
63 |
|
meshbounds[1][0] = meshbounds[1][1] = meshbounds[1][2] = -FHUGE; |
64 |
|
return(ourmesh); |
290 |
|
for (i = 0; i < 3; i++) |
291 |
|
ourmesh->mcube.cuorg[i] = (meshbounds[1][i]+meshbounds[0][i] - |
292 |
|
ourmesh->mcube.cusize)*.5; |
293 |
< |
if (ourmesh->uvlim[0][0] >= ourmesh->uvlim[1][0]) { |
293 |
> |
if (ourmesh->uvlim[0][0] > ourmesh->uvlim[1][0]) { |
294 |
|
ourmesh->uvlim[0][0] = ourmesh->uvlim[0][1] = 0.; |
295 |
|
ourmesh->uvlim[1][0] = ourmesh->uvlim[1][1] = 0.; |
296 |
|
} else { |