Add OBJ Loader

This commit is contained in:
karl 2020-01-04 18:18:03 +01:00
parent a1ccd4e362
commit 94929db5ce
3 changed files with 1171 additions and 2 deletions

View File

@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 17)
find_package(OpenGL REQUIRED) find_package(OpenGL REQUIRED)
find_package(glfw3 REQUIRED) find_package(glfw3 REQUIRED)
add_executable(ecsgame glad.c Shader.cpp Shader.h main.cpp) add_executable(ecsgame glad.c OBJ_Loader.h Shader.cpp Shader.h main.cpp)
include_directories(${OPENGL_INCLUDE_DIRS}) include_directories(${OPENGL_INCLUDE_DIRS})

1167
OBJ_Loader.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,4 +2,6 @@
C++ ECS OpenGL game demo C++ ECS OpenGL game demo
Some code adapted from Joey de Vries' (https://twitter.com/JoeyDeVriez) tutorials at https://learnopengl.com/About licensed under https://creativecommons.org/licenses/by-nc/4.0/. Some code adapted from Joey de Vries' (https://twitter.com/JoeyDeVriez) tutorials at https://learnopengl.com/About licensed under https://creativecommons.org/licenses/by-nc/4.0/.
OBJ-Loader from https://github.com/Bly7/OBJ-Loader.