From 9c1fee14b25ad552ef36f9f08ff93bd3f02597e1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 23 Nov 2022 17:34:55 +0000 Subject: Rename setView to setViewProjection to avoid ambiguity --- gfx/gl/sceneShader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gfx/gl/sceneShader.h') 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; }; -- cgit v1.2.3