diff options
author | jjesswan <jessica_wan@brown.edu> | 2024-05-06 19:11:27 -0400 |
---|---|---|
committer | jjesswan <jessica_wan@brown.edu> | 2024-05-06 19:11:27 -0400 |
commit | d8bf256cf18327f48061ed875c98109200288733 (patch) | |
tree | c33234e5fe9a0b69925cfee16b8ba5f627b54595 /src/graphics/shape.h | |
parent | 8d6fd1befd53948cfb4f44ba84bfdb54ac97cf81 (diff) |
trial with vbo
Diffstat (limited to 'src/graphics/shape.h')
-rw-r--r-- | src/graphics/shape.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/graphics/shape.h b/src/graphics/shape.h index ef1c532..71c7bc4 100644 --- a/src/graphics/shape.h +++ b/src/graphics/shape.h @@ -41,6 +41,16 @@ public: std::vector<Eigen::Vector2f>& tex, std::vector<Eigen::Vector3f>& colors); + void updateMeshFoam(const std::vector<Eigen::Vector3i> &faces, + const std::vector<Eigen::Vector3f> &vertices, + const std::vector<Eigen::Vector2f> &k_vectors, + const std::vector<float> &wavelengths, + + std::vector<Eigen::Vector3f> &verts, + std::vector<Eigen::Vector2f> &ks, + std::vector<float> &waves); + + void setModelMatrix(const Eigen::Affine3f &model); |