very bad collision(work in progress)

This commit is contained in:
swim67667
2026-06-22 01:29:58 -04:00
commit 22377c6f1a
26 changed files with 4453 additions and 0 deletions

23
Makefile Normal file
View File

@@ -0,0 +1,23 @@
CC=gcc
SRC=src/main.c \
src/world.c \
src/player.c \
src/physics.c \
src/render.c \
src/collision.c\
OUT=wrldbox
INCLUDES=-Iinclude
LIBPATH=-Llib
CFLAGS=-O2 -Wall
LIBS=-lraylib -lX11 -ldl -lpthread -lm
all:
$(CC) $(SRC) $(CFLAGS) $(INCLUDES) $(LIBPATH) -o $(OUT) $(LIBS)
clean:
rm -f $(OUT)