summaryrefslogtreecommitdiff
path: root/src/graphics/shape.h
diff options
context:
space:
mode:
authorSebastian Park <SebPark03@gmail.com>2024-04-23 12:06:00 -0400
committerSebastian Park <SebPark03@gmail.com>2024-04-23 12:06:00 -0400
commit12ec81fd1624e9b06e03d9a53a1873f63fe99c3b (patch)
treedb528688bbf888cf0f147a698d061f5c7ae89560 /src/graphics/shape.h
parenta556b45abf18f1bd509daaf63b66b7d55e9fd291 (diff)
parent6a5806b82c44a2cae481a6015d1a0f390e4b8445 (diff)
Merge branch 'shaders'
Diffstat (limited to 'src/graphics/shape.h')
-rw-r--r--src/graphics/shape.h5
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;