diff options
Diffstat (limited to 'src/arap.h')
-rw-r--r-- | src/arap.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -19,7 +19,8 @@ class ARAP { private: Shape m_shape; -// OceanShape m_oceanShape; + Shape m_foam_shape; + public: ARAP(); @@ -43,6 +44,17 @@ public: m_shape.draw(shader, mode); } + void drawFoam(Shader *shader, GLenum mode) + { + + + m_foam_shape.draw(shader, mode); + } + + double getTime() { + return m_time; + } + void initGroundPlane(std::string texturePath, float depth, Shader* shader) { m_shape.initGroundPlane(texturePath, depth, shader); } |