change obj parsing to its own object and start polygon triangulation

This commit is contained in:
2025-01-16 22:10:09 +01:00
parent a07252b059
commit 67eca73d47
7 changed files with 272 additions and 157 deletions

View File

@ -52,7 +52,8 @@ ALL_SRCS := $(IMGUI_SRCS) \
class/Shader.cpp \
class/Camera.cpp \
class/Scene.cpp \
class/SceneParser.cpp
class/SceneParser.cpp \
class/ObjParser.cpp
SRCS := $(ALL_SRCS:%=$(SRCS_DIR)/%)
OBJS := $(addprefix $(OBJS_DIR)/, $(SRCS:%.cpp=%.o))