summaryrefslogtreecommitdiff
path: root/src/graphics/shape.h
diff options
context:
space:
mode:
authorjjesswan <jessica_wan@brown.edu>2024-05-06 20:29:14 -0400
committerjjesswan <jessica_wan@brown.edu>2024-05-06 20:29:14 -0400
commiteb8af873097ce73a22139db4924ebd41d766f011 (patch)
tree2ba63f06e8b787b8091cf1ac8a71974191ac57bb /src/graphics/shape.h
parentd8bf256cf18327f48061ed875c98109200288733 (diff)
foam done
Diffstat (limited to 'src/graphics/shape.h')
-rw-r--r--src/graphics/shape.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/graphics/shape.h b/src/graphics/shape.h
index 71c7bc4..ab3c27a 100644
--- a/src/graphics/shape.h
+++ b/src/graphics/shape.h
@@ -42,13 +42,13 @@ public:
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,
+ const std::vector<Eigen::Vector3f> &vertices,
+ const std::vector<float> &wavelengths,
+ const std::vector<Eigen::Vector2f> &waveDirs,
- std::vector<Eigen::Vector3f> &verts,
- std::vector<Eigen::Vector2f> &ks,
- std::vector<float> &waves);
+ std::vector<Eigen::Vector3f>& verts,
+ std::vector<Eigen::Vector3f>& normals,
+ std::vector<Eigen::Vector3f>& colors);