summaryrefslogtreecommitdiff
path: root/src/arap.h
diff options
context:
space:
mode:
authorSebastian Park <SebPark03@gmail.com>2024-05-09 23:18:46 -0400
committerSebastian Park <SebPark03@gmail.com>2024-05-09 23:18:46 -0400
commitf9819ae7f8b11b298c16eb14d929a9c09038a877 (patch)
treecef7f0c104d49d41a1e2c76bec2343f875ca8dff /src/arap.h
parentac3f1e423e696392ea0a50c2652b829e5c5734b6 (diff)
parent99c588d4da2ca044df8276b7efbd9d27c19c8352 (diff)
Merge branch 'shaders'
Diffstat (limited to 'src/arap.h')
-rw-r--r--src/arap.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/arap.h b/src/arap.h
index e5529d9..39b2076 100644
--- a/src/arap.h
+++ b/src/arap.h
@@ -1,6 +1,7 @@
#pragma once
#include "graphics/shape.h"
+//#include "graphics/simpleshape.h"
//#include "graphics/oceanshape.h"
#include "Eigen/StdList"
#include "Eigen/StdVector"
@@ -22,6 +23,8 @@ private:
Shape m_foam_shape;
+// OceanShape m_oceanShape;
+ void initCausticsShape(int res);
public:
ARAP();
@@ -39,8 +42,7 @@ public:
void draw(Shader *shader, GLenum mode)
{
-
-
+// m_causticsShape.draw(shader, mode);
m_shape.draw(shader, mode);
}
@@ -99,5 +101,7 @@ public:
double m_timestep = 0.3;
Eigen::Vector3f minCorner, maxCorner;
+
+ Shape m_causticsShape;
};