added a missing HasPerVertexTexture()

This commit is contained in:
Paolo Cignoni 2009-06-24 20:30:36 +00:00
parent a88ee5b244
commit ace6a183b3
1 changed files with 7 additions and 0 deletions

View File

@ -664,6 +664,13 @@ namespace tri
if(VertexType::HasQualityOcf()) return m.vert.IsQualityEnabled();
else return VertexType::HasQuality();
}
template < class VertexType, class FaceContainerType, class EdgeContainerType >
bool HasPerVertexTexCoord (const TriMesh < vertex::vector_ocf< VertexType > , FaceContainerType , EdgeContainerType> & m)
{
if(VertexType::HasTexCoordOcf()) return m.vert.IsTexCoordEnabled();
else return VertexType::HasTexCoord();
}
template < class VertexType, class FaceContainerType, class EdgeContainerType >
bool HasPerVertexCurvature (const TriMesh < vertex::vector_ocf< VertexType > , FaceContainerType, EdgeContainerType > & m)