1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2025-04-21 12:27:27 +03:00

For convenience, record maximum Z size in the face structure.

- solidify/face.h (struct face), solidify/face.c (read_file): keep the mesh's
  maximum Z size in sz, similar to sx and sy
- solidify/povray.c (povray_face): use f->sz insead of calculating it
This commit is contained in:
Werner Almesberger
2010-09-26 05:48:31 -03:00
parent 17824f4cb4
commit d9ddd52427
3 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@
struct face {
struct array *a;
double x_step, y_step, z_step;
int sx, sy; /* size */
int sx, sy, sz; /* size */
int cx, cy; /* center */
int z_ref;
double fx, fy; /* inclination factor */