Added scalar type definition in the edgetype once the vertexref is defined.

This commit is contained in:
Paolo Cignoni 2015-12-03 22:53:16 +00:00
parent a52a1484e6
commit 75aeed8d04
1 changed files with 1 additions and 0 deletions

View File

@ -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]; }