mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-22 06:15:58 +02:00
6ac06aab7c
- 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
18 lines
229 B
C
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 */
|