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
2021-04-06 21:49:23 +02:00
committed by Sylvain Becker
parent 53bcb3e0e9
commit bc2173baf9
4 changed files with 310 additions and 2 deletions

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@