Added HasFlags and a couple of missing include files
This commit is contained in:
parent
8ae47cd7c7
commit
cf80db3c13
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue