diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-13 19:38:11 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-13 19:43:19 +0000 |
commit | b3d75fe53ec3f7766e4ee6e35bfccd99c1ef9eed (patch) | |
tree | 73153d2d7facf8072481a43df9168fa9b8fdfb76 /game/geoData.h | |
parent | Fix up includes (diff) | |
download | ilt-b3d75fe53ec3f7766e4ee6e35bfccd99c1ef9eed.tar.bz2 ilt-b3d75fe53ec3f7766e4ee6e35bfccd99c1ef9eed.tar.xz ilt-b3d75fe53ec3f7766e4ee6e35bfccd99c1ef9eed.zip |
Progressive constructors for RayTracer
Diffstat (limited to 'game/geoData.h')
-rw-r--r-- | game/geoData.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<float, float>, std::pair<float, float>); + static std::pair<float, float> byAxis(glm::vec2 p0, glm::vec2 p1, glm::vec2 d, glm::length_t); + glm::vec2 p; const glm::vec2 d; float error; |