added a missing HasPerVertexTexture()
This commit is contained in:
parent
a88ee5b244
commit
ace6a183b3
|
@ -665,6 +665,13 @@ namespace tri
|
||||||
else return VertexType::HasQuality();
|
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 >
|
template < class VertexType, class FaceContainerType, class EdgeContainerType >
|
||||||
bool HasPerVertexCurvature (const TriMesh < vertex::vector_ocf< VertexType > , FaceContainerType, EdgeContainerType > & m)
|
bool HasPerVertexCurvature (const TriMesh < vertex::vector_ocf< VertexType > , FaceContainerType, EdgeContainerType > & m)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue