diff options
author | Sebastian Park <SebPark03@gmail.com> | 2024-05-09 22:02:12 -0400 |
---|---|---|
committer | Sebastian Park <SebPark03@gmail.com> | 2024-05-09 22:02:12 -0400 |
commit | 481e582be02385271f87524bfe46d6c41654e23c (patch) | |
tree | ddb9a0b98de7e5b40aeea55464deb75cc753a15d /src/arap.h | |
parent | f1230ea24dc87a3bb5c9c709d4571e3298d7d07f (diff) |
"raytraced" caustics.
Diffstat (limited to 'src/arap.h')
-rw-r--r-- | src/arap.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,7 @@ #pragma once #include "graphics/shape.h" +//#include "graphics/simpleshape.h" //#include "graphics/oceanshape.h" #include "Eigen/StdList" #include "Eigen/StdVector" @@ -20,7 +21,7 @@ class ARAP private: Shape m_shape; // OceanShape m_oceanShape; - + void initCausticsShape(int res); public: ARAP(); @@ -38,6 +39,7 @@ public: void draw(Shader *shader, GLenum mode) { +// m_causticsShape.draw(shader, mode); m_shape.draw(shader, mode); } @@ -85,5 +87,7 @@ public: double m_timestep = 0.1; Eigen::Vector3f minCorner, maxCorner; + + Shape m_causticsShape; }; |