diff options
author | Sebastian Park <SebPark03@gmail.com> | 2024-04-23 12:06:00 -0400 |
---|---|---|
committer | Sebastian Park <SebPark03@gmail.com> | 2024-04-23 12:06:00 -0400 |
commit | 12ec81fd1624e9b06e03d9a53a1873f63fe99c3b (patch) | |
tree | db528688bbf888cf0f147a698d061f5c7ae89560 /src/graphics/shape.h | |
parent | a556b45abf18f1bd509daaf63b66b7d55e9fd291 (diff) | |
parent | 6a5806b82c44a2cae481a6015d1a0f390e4b8445 (diff) |
Merge branch 'shaders'
Diffstat (limited to 'src/graphics/shape.h')
-rw-r--r-- | src/graphics/shape.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/graphics/shape.h b/src/graphics/shape.h index b909606..4a3632c 100644 --- a/src/graphics/shape.h +++ b/src/graphics/shape.h @@ -36,6 +36,7 @@ public: void setColor(float r, float g, float b); void initGroundPlane(std::string texturePath, float depth, Shader* shader); + void initSkyPlane(std::string texturePath, float depth, Shader* shader); void draw(Shader *shader, GLenum mode); SelectMode select(Shader *shader, int vertex); @@ -51,8 +52,8 @@ private: GLuint m_surfaceVao; GLuint m_surfaceVbo; GLuint m_surfaceIbo; - GLuint ocean_floor_texture; - QImage ocean_floor_image; + GLuint m_ground_texture; + QImage m_ground_image; unsigned int m_numSurfaceVertices; unsigned int m_verticesSize; |