diff options
author | sotech117 <michael_foiani@brown.edu> | 2024-05-10 16:18:23 -0400 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2024-05-10 16:18:23 -0400 |
commit | 05038becbe8907a1364db05c42fc1bc48f66ce56 (patch) | |
tree | ae4908fbb29fadb44e549af52a09d368387477e6 /src/graphics/shape.h | |
parent | 2820f2a620340feff973dfea26c1eb1172140ada (diff) |
Diffstat (limited to 'src/graphics/shape.h')
-rw-r--r-- | src/graphics/shape.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics/shape.h b/src/graphics/shape.h index ab3c27a..88fc33e 100644 --- a/src/graphics/shape.h +++ b/src/graphics/shape.h @@ -32,7 +32,7 @@ public: void setVertices(const std::vector<Eigen::Vector3f> &vertices); void setVertices_and_Normals(const std::vector<Eigen::Vector3f> &vertices, const std::vector<Eigen::Vector3f> &normals); void setFoamInputs(const std::vector<Eigen::Vector3f> &verts, const std::vector<float> &wavelengths, - const std::vector<Eigen::Vector2f> &waveDirs, const std::vector<Eigen::Vector2f> &textureCoords); + const std::vector<Eigen::Vector3f> &norms, const std::vector<Eigen::Vector2f> &textureCoords); void updateFoam(const std::vector<Eigen::Vector3i> &faces, const std::vector<Eigen::Vector3f> &vertices, const std::vector<Eigen::Vector2f> &texCoords, @@ -44,7 +44,7 @@ public: void updateMeshFoam(const std::vector<Eigen::Vector3i> &faces, const std::vector<Eigen::Vector3f> &vertices, const std::vector<float> &wavelengths, - const std::vector<Eigen::Vector2f> &waveDirs, + const std::vector<Eigen::Vector3f> &waveDirs, std::vector<Eigen::Vector3f>& verts, std::vector<Eigen::Vector3f>& normals, |