mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2025-04-21 12:27:27 +03:00
Instead of performing the tranformations stepwise for each point, pre-calculate
them once. - solidify/matrix.h, solidify/matrix.c: 2D matrix operations - solidify/Makefile (OBJS): added matrix.o - solidify/face.h (struct matrix): moved to solidify/matrix.h - solidify/overlap.c (point, merge_matrix, draw_map): precalculate a single vA+b transformation instead of stepwise transforming the vector inside the loop - solidify/overlap.c (do_shift): now that the math is right (or at least better), reverse the shift
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
|
||||
SHELL = /bin/bash
|
||||
|
||||
OBJS = array.o face.o histo.o level.o overlap.o solid.o solidify.o style.o \
|
||||
util.o
|
||||
OBJS = array.o face.o histo.o level.o matrix.o overlap.o solid.o solidify.o \
|
||||
style.o util.o
|
||||
|
||||
CFLAGS_WARN = -Wall -Wshadow -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wno-format-zero-length
|
||||
|
||||
Reference in New Issue
Block a user