diff options
Diffstat (limited to 'src/arap.h')
-rw-r--r-- | src/arap.h | 16 |
1 files changed, 14 insertions, 2 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); } @@ -84,7 +96,7 @@ public: ocean_alt m_ocean; double m_time = 0.00; - double m_timestep = 0.03; + double m_timestep = 0.3; Eigen::Vector3f minCorner, maxCorner; }; |