diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-23 17:34:55 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-23 18:38:46 +0000 |
commit | 9c1fee14b25ad552ef36f9f08ff93bd3f02597e1 (patch) | |
tree | a22dc81abf4f03285a9ae9fe713db84bfede7013 /gfx/gl/sceneShader.h | |
parent | Add geometry shader support to build system (diff) | |
download | ilt-9c1fee14b25ad552ef36f9f08ff93bd3f02597e1.tar.bz2 ilt-9c1fee14b25ad552ef36f9f08ff93bd3f02597e1.tar.xz ilt-9c1fee14b25ad552ef36f9f08ff93bd3f02597e1.zip |
Rename setView to setViewProjection to avoid ambiguity
Diffstat (limited to 'gfx/gl/sceneShader.h')
-rw-r--r-- | gfx/gl/sceneShader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gl/sceneShader.h b/gfx/gl/sceneShader.h index 2951e85..8094e0a 100644 --- a/gfx/gl/sceneShader.h +++ b/gfx/gl/sceneShader.h @@ -12,7 +12,7 @@ class SceneShader { { } - void setView(const glm::mat4 &) const; + void setViewProjection(const glm::mat4 &) const; private: RequiredUniformLocation viewProjectionLoc; @@ -51,5 +51,5 @@ public: WaterProgram water; AbsolutePosProgram landmass, absolute; - void setView(glm::mat4 proj) const; + void setViewProjection(const glm::mat4 & viewProjection) const; }; |