Add testgeometry to draw a non uniform triangle

--use-texture: an option to load icon.bmp as a texture
handle mouse motion: rotate the triangle
This commit is contained in:
Sylvain authored and Sylvain Becker committed 2021-08-19 00:10:59 +02:00
1 parent 53bcb3e0e9
commit bc2173baf9
4 files changed
+310 -2

No files matched your search

+5 -1
View File
@@ -29,6 +29,7 @@ TARGETS = \
testfile$(EXE) \
testfilesystem$(EXE) \
testgamecontroller$(EXE) \
testgeometry$(EXE) \
testgesture$(EXE) \
testhaptic$(EXE) \
testhittesting$(EXE) \
@@ -161,7 +162,10 @@ testfile$(EXE): $(srcdir)/testfile.c
testgamecontroller$(EXE): $(srcdir)/testgamecontroller.c
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
testgeometry$(EXE): $(srcdir)/testgeometry.c
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
testgesture$(EXE): $(srcdir)/testgesture.c
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@