1
0
mirror of git://projects.qi-hardware.com/ben-scans.git synced 2024-11-22 10:40:38 +02:00
ben-scans/solidify/face.h
Werner Almesberger 6ac06aab7c Control inclination of the z0 plane. (Needs more work.)
- solidify/face.h (struct face), solidify/face.c (read_face),
  solidify/level.c (draw_map, draw_image): introduce inclination of the z0
  plane
- solidify/level.c (draw_map): make blue z == z0 display more continuous
- solidify/level.c (scroll_event): moved z0 shift to scroll_z
- solidify/level.c (scroll_event, scroll_xy): added manipulation of the
  z0 plane's inclination
2010-09-22 19:20:29 -03:00

18 lines
229 B
C

#ifndef FACE_H
#define FACE_H
#include "array.h"
struct face {
struct array *a;
int sx, sy; /* size */
int z_ref;
double fx, fy; /* inclination factor */
};
struct face *read_face(const char *name);
#endif /* FACE_H */