Added a simple photon map debug viewer.

This commit is contained in:
2017-03-01 11:47:22 -04:00
parent 0095c138a4
commit 7444b01bce
5 changed files with 198 additions and 0 deletions

16
PhotonViewer/Makefile Normal file
View File

@@ -0,0 +1,16 @@
TARGET = pviewer
OBJECTS = main.o
CXXFLAGS = -ansi -pedantic -std=c++11 -g -Wall -DGLM_FORCE_RADIANS -I/usr/include/GL
LDLIBS = -lglut -lGLU -lGL
.PHONY: all
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDLIBS)
main.o: main.cpp
.PHONY: clean
clean:
$(RM) $(TARGET) *.o