summaryrefslogtreecommitdiff
path: root/game/geoData.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-08 13:39:36 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-08 19:30:12 +0000
commitc508f08ce4841eabbcaf5df7c31ff4331aa9750c (patch)
treeecf1bd2212309fd79f92f11547dcbebda2eef3e6 /game/geoData.h
parentHave CLOG write to cerr, clog doesn't sync with Boost test output (diff)
downloadilt-c508f08ce4841eabbcaf5df7c31ff4331aa9750c.tar.bz2
ilt-c508f08ce4841eabbcaf5df7c31ff4331aa9750c.tar.xz
ilt-c508f08ce4841eabbcaf5df7c31ff4331aa9750c.zip
Tweak ray tracer calls to account for scale
Diffstat (limited to 'game/geoData.h')
-rw-r--r--game/geoData.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/geoData.h b/game/geoData.h
index 7bd6ae5..a296205 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -34,7 +34,7 @@ public:
class RayTracer {
public:
- RayTracer(glm::vec2 p0, glm::vec2 p1, float scale);
+ RayTracer(glm::vec2 p0, glm::vec2 p1);
glm::vec2 next();
@@ -42,7 +42,7 @@ public:
glm::vec2 p;
const glm::vec2 d;
float error;
- glm::vec3 inc;
+ glm::vec2 inc;
};
protected: