Convert hot-loop functions to be inline

This commit is contained in:
austin committed 2020-07-01 17:43:08 -07:00
1 parent 0203beb367
commit ab9675508a
6 files changed
+78 -87

No files matched your search

+2 -2
View File
@@ -44,8 +44,8 @@ _HEADERS = camera.h color.h engine.h geometry.h light.h loader.h matrix.h\
platform.h point.h render.h transform.h util.h vec.h
HEADERS = $(patsubst %,$(INCLUDE_DIR)/%,$(_HEADERS))
_OBJS = color.o engine.o light.o loader.o main.o platform.o render.o\
transform.o vec.o
_OBJS = engine.o light.o loader.o main.o platform.o render.o\
transform.o
OBJS = $(patsubst %,$(BUILD_DIR)/%,$(_OBJS))
$(BUILD_DIR)/%.o: $(SRC_DIR)/%.cpp $(HEADERS)