From b3d75fe53ec3f7766e4ee6e35bfccd99c1ef9eed Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 13 Jan 2022 19:38:11 +0000 Subject: Progressive constructors for RayTracer --- game/geoData.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'game/geoData.h') diff --git a/game/geoData.h b/game/geoData.h index 2a1c8bd..b16aed7 100644 --- a/game/geoData.h +++ b/game/geoData.h @@ -44,6 +44,10 @@ public: glm::vec2 next(); private: + RayTracer(glm::vec2 p0, glm::vec2 p1, glm::vec2 d); + RayTracer(glm::vec2 p0, glm::vec2 d, std::pair, std::pair); + static std::pair byAxis(glm::vec2 p0, glm::vec2 p1, glm::vec2 d, glm::length_t); + glm::vec2 p; const glm::vec2 d; float error; -- cgit v1.2.3