Skip to content

Commit

Permalink
[examples] replace mass with vertexMass (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugtalbot authored Apr 8, 2024
1 parent a77aeee commit 954c113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ICPRegistration_MeshSpring.scn
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<MeshOBJLoader name="MeshLoader" filename="data/femur_m_res.obj" />
<MeshTopology src="@MeshLoader" />
<MechanicalObject name="PointSet" />
<UniformMass mass="0.001"/>
<UniformMass vertexMass="0.001"/>
<MeshSpringForceField name="Springs" stiffness="10000" />

<NormalsFromPoints name="NormalsFromPoints" template="Vec3d" position="@PointSet.position" triangles="@MeshLoader.triangles" quads="@MeshLoader.quads"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/ICPRegistration_ShapeMatching_Engine.scn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<MeshOBJLoader name="meshLoader" filename="data/femur_m_res.obj"/>
<MeshTopology src="@meshLoader" />
<MechanicalObject name="PointSet" />
<UniformMass mass="10"/>
<UniformMass vertexMass="10"/>

<ClusteringEngine template="Vec3d" name="clustering" radius='0.4' number='100' position="@meshLoader.position"/>
<ShapeMatching template="Vec3d" name="shapeMatching" iterations='1' position="@PointSet.position" cluster="@clustering.cluster"/>
Expand Down

0 comments on commit 954c113

Please sign in to comment.