diff --git a/vcg/complex/algorithms/intersection.h b/vcg/complex/algorithms/intersection.h index f399ea26..b0c8cab9 100644 --- a/vcg/complex/algorithms/intersection.h +++ b/vcg/complex/algorithms/intersection.h @@ -281,7 +281,7 @@ bool IntersectionRayMesh( /* Baricentric coord 1*/ ScalarType &bar1, /* Baricentric coord 2*/ ScalarType &bar2, /* Baricentric coord 3*/ ScalarType &bar3, - /* FacePointer */ typename TriMeshType::FacePointer fp + /* FacePointer */ typename TriMeshType::FacePointer & fp ) { //typedef typename TriMeshType::FaceContainer FaceContainer;