Added HasFlags and a couple of missing include files

This commit is contained in:
Paolo Cignoni 2005-12-02 00:05:34 +00:00
parent 8ae47cd7c7
commit cf80db3c13
1 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.18 2005/11/26 00:16:03 cignoni
added HasPerWedgeTexture taking mesh as input. (needed for optional components)
Revision 1.17 2005/11/16 22:35:47 cignoni Revision 1.17 2005/11/16 22:35:47 cignoni
Added missing includes (color and assert) Added missing includes (color and assert)
Added texture name members Added texture name members
@ -82,6 +85,8 @@ Initial commit
#pragma warning( disable : 4804 ) #pragma warning( disable : 4804 )
#endif #endif
#include <assert.h> #include <assert.h>
#include <string>
#include <vector>
#include <vcg/space/box3.h> #include <vcg/space/box3.h>
#include <vcg/space/color4.h> #include <vcg/space/color4.h>
#include <vcg/math/shot.h> #include <vcg/math/shot.h>
@ -299,6 +304,10 @@ ScalarType Volume()
template < class VertContainerType, class FaceContainerType > template < class VertContainerType, class FaceContainerType >
bool HasPerWedgeTexture (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasWedgeTexture();} bool HasPerWedgeTexture (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasWedgeTexture();}
template < class VertContainerType, class FaceContainerType >
bool HasPerFaceFlags (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasFlags();}
/*@}*/ /*@}*/
/*@}*/ /*@}*/
} // end namespace } // end namespace