#ifndef TACOS_WORLD_FLOOR_HPP_
#define TACOS_WORLD_FLOOR_HPP_
+#include "../physics/ray.hpp"
+
#include <vector>
#include <GL/glew.h>
#include <glm/glm.hpp>
void GenerateVertices();
+ /// check if ray intersects floor, write point of intersection to point
+ bool Intersection(const Ray &ray, glm::vec3 &point);
+
private:
void SetupVAO(int which, GLuint element_buffer, int vertex_count) noexcept;
void FillElementBuffer(GLuint which, int tile_width, int tile_depth);