mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 09:04:36 +00:00
fix const correctness
This commit is contained in:
parent
b4d46e1ccc
commit
c3d60cee50
@ -155,8 +155,8 @@ void MaxMinEdge(const MeshType &mesh,typename MeshType::ScalarType &min,
|
||||
|
||||
for (int i=0;i<3;i++)
|
||||
{
|
||||
typename MeshType::VertexType* v0=(*Fi).cV0(i);
|
||||
typename MeshType::VertexType* v1=(*Fi).cV1(i);
|
||||
const typename MeshType::VertexType* v0=(*Fi).V0(i);
|
||||
const typename MeshType::VertexType* v1=(*Fi).V1(i);
|
||||
if (v0>v1)
|
||||
{
|
||||
ScalarType dist=(v0->P()-v1->P()).Norm();
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit d69e3e67cc14970906a33efdd92894e24abb140e
|
||||
Subproject commit adb799a0a2f6c51e407752add09eb8beddc18d58
|
||||
Loading…
x
Reference in New Issue
Block a user