diff --git a/HitRecord.hpp b/HitRecord.hpp new file mode 100644 index 0000000..2659985 --- /dev/null +++ b/HitRecord.hpp @@ -0,0 +1,23 @@ +#ifndef __HITRECORD__ +#define __HITRECORD__ + +#include +#include "Material.h" +#include "TextureImage.h" +#define _USE_MATH_DEFINES +#include + +const float MaxFloat = MAXFLOAT; + +struct HitRecord { + float time = MaxFloat; + glm::vec3 intersection; + glm::vec3 normal; + util::Material* mat = NULL; + glm::vec2 texCoord; + util::TextureImage* texture = NULL; + +private: +}; + +#endif