From 0d4f1353c9e6277b9cf0fe781e75eada0d701213 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 14 Oct 2019 18:10:36 -0400 Subject: Put Tile Heightmap, and AABB into their own separate functions. I also made a benchmark version, with hardcoded values. I made this to get the time of a collision check, without the overhead of getting input. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 25ef589..189e4c8 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,10 @@ all : $(OBJS) $(CC) $(OBJS) $(CFLAGS) -o $(OBJ_NAME) test-mvmt : $(CC) test-mvmt.c $(CFLAGS) -o test-mvmt +benchmark: + $(CC) clld-bench.c $(CFLAGS) -o clld-bench clean : - rm -f $(OBJ_NAME) test-mvmt + rm -f $(OBJ_NAME) test-mvmt clld-bench install : install -D -m755 clld $(BIN_DIR)/clld uninstall : -- cgit v1.2.3-13-gbd6f