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

Added interactive 2D transformation (working towards overlapping)

- solidify/Makefile (OBJS): added overlap.o
- solidify/Makefile (CFLAGS): added -O9 to speed up rotation a little
- solidify/array.h, solidify/array.c (get_bounded): like get(), but returns
  UNDEF if the indices are outside the array
- solidify/face.h (struct face, struct matrix), solidify/face.c (read_file):
  added a 2D transformation matrix to "struct face"
- solidify/overlap.h, solidify/overlap.c: show a face with 2D transformation
This commit is contained in:
Werner Almesberger
2010-09-23 22:17:19 -03:00
parent 598df91d9f
commit cef7cd5e18
7 changed files with 241 additions and 2 deletions

View File

@@ -12,12 +12,12 @@
SHELL = /bin/bash
OBJS = array.o face.o histo.o level.o solidify.o
OBJS = array.o face.o histo.o level.o overlap.o solidify.o
CFLAGS_WARN = -Wall -Wshadow -Wmissing-prototypes \
-Wmissing-declarations -Wno-format-zero-length
CFLAGS = $(CFLAGS_WARN) -g `pkg-config --cflags gtk+-2.0`
CFLAGS = $(CFLAGS_WARN) -g -O9 `pkg-config --cflags gtk+-2.0`
LDFLAGS = -lm `pkg-config --libs gtk+-2.0`
# ----- Verbosity control -----------------------------------------------------