i think i broke it further
This commit is contained in:
33
include/object.h
Normal file
33
include/object.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef SRC_OBJECT_H_
|
||||
#define SRC_OBJECT_H_
|
||||
|
||||
// General includes
|
||||
#include <vector>
|
||||
|
||||
// GL includes
|
||||
#include <glad/glad.hpp>
|
||||
|
||||
#if _WIN32
|
||||
#include <SDL.h>
|
||||
#else
|
||||
#include <SDL2/SDL.h>
|
||||
#endif
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
#include <glm/gtc/type_ptr.hpp>
|
||||
|
||||
// Custom includes
|
||||
#include <logger.h>
|
||||
|
||||
void LoadOBJ(Logger& logger,
|
||||
std::string file,
|
||||
std::vector<glm::vec3>& vertices,
|
||||
std::vector<glm::vec3>& normals,
|
||||
std::vector<GLushort>& elements);
|
||||
|
||||
void FlatShade(std::vector<glm::vec3>& vertices,
|
||||
std::vector<glm::vec3>& normals,
|
||||
std::vector<GLushort>& elements);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user