Skip to content
Snippets Groups Projects
Commit ac3610fb authored by Alexis Girault's avatar Alexis Girault
Browse files

STYLE: Rename vertexDeformations to Displacements

parent 261de750
No related branches found
No related tags found
No related merge requests found
......@@ -47,14 +47,14 @@ Mesh::setVertexPositions(const std::vector<Vec3d>& vertices)
}
const std::vector<Vec3d>&
Mesh::getVertexDeformations() const
Mesh::getVertexDisplacements() const
{
return m_vertexDeformations;
return m_vertexDisplacements;
}
void
Mesh::setVertexDeformations(const std::vector<Vec3d>& diff)
Mesh::setVertexDisplacements(const std::vector<Vec3d>& diff)
{
m_vertexDeformations = diff;
m_vertexDisplacements = diff;
}
}
......@@ -37,8 +37,8 @@ public:
const std::vector<Vec3d>& getVertexPositions() const;
void setVertexPositions(const std::vector<Vec3d>& vertices);
const std::vector<Vec3d>& getVertexDeformations() const;
void setVertexDeformations(const std::vector<Vec3d>& diff);
const std::vector<Vec3d>& getVertexDisplacements() const;
void setVertexDisplacements(const std::vector<Vec3d>& diff);
protected:
......@@ -46,11 +46,11 @@ protected:
// Orientation * Scaling * initialVertexPositions
// + Position
// + vertexDeformations
// + vertexDisplacements
// = vertexPositions
std::vector<Vec3d> m_initialVertexPositions;
std::vector<Vec3d> m_vertexPositions;
std::vector<Vec3d> m_vertexDeformations;
std::vector<Vec3d> m_vertexDisplacements;
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment