From 75aeed8d044639fa8dc83360dd74381a0136ff27 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 3 Dec 2015 22:53:16 +0000 Subject: [PATCH] Added scalar type definition in the edgetype once the vertexref is defined. --- vcg/simplex/edge/component.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vcg/simplex/edge/component.h b/vcg/simplex/edge/component.h index a04ec80b..9815e9fb 100644 --- a/vcg/simplex/edge/component.h +++ b/vcg/simplex/edge/component.h @@ -114,6 +114,7 @@ public: } typedef typename T::VertexType::CoordType CoordType; + typedef typename T::VertexType::ScalarType ScalarType; inline typename T::VertexType * & V( const int j ) { assert(j>=0 && j<2); return v[j]; } inline typename T::VertexType * const & V( const int j ) const { assert(j>=0 && j<2); return v[j]; }