added some using keywords and templates

This commit is contained in:
Paolo Cignoni 2007-07-16 10:00:14 +00:00
parent c63ba58a30
commit dcd031a38d
1 changed files with 8 additions and 6 deletions

View File

@ -48,13 +48,15 @@ namespace vcg
typedef typename FaceType::VertexType VertexType;
typedef typename VertexType::CoordType CoordType;
typedef typename VertexType::ScalarType ScalarType;
using Pos<FACE_TYPE>::f;
using Pos<FACE_TYPE>::z;
using Pos<FACE_TYPE>::FFlip;
public:
// Constructors
JumpingPos() : Pos() { m_AlreadyJumped = false; }
JumpingPos(FaceType * const pFace, int const z, VertexType * const pVertex) : Pos(pFace, z, pVertex) { m_AlreadyJumped = false; }
JumpingPos(FaceType * const pFace, int const z) : Pos(pFace, z) { m_AlreadyJumped = false; }
JumpingPos(FaceType * const pFace, VertexType * const pVertex) : Pos(pFace, pVertex) { m_AlreadyJumped = false; }
JumpingPos() : Pos<FACE_TYPE>() { m_AlreadyJumped = false; }
JumpingPos(FaceType * const pFace, int const z, VertexType * const pVertex) : Pos<FACE_TYPE>(pFace, z, pVertex) { m_AlreadyJumped = false; }
JumpingPos(FaceType * const pFace, int const z) : Pos<FACE_TYPE>(pFace, z) { m_AlreadyJumped = false; }
JumpingPos(FaceType * const pFace, VertexType * const pVertex) : Pos<FACE_TYPE>(pFace, pVertex) { m_AlreadyJumped = false; }
/*!
@ -91,4 +93,4 @@ namespace vcg
} // end of namespace face
} // end of namespace vcg
#endif // __VCG_JUMPING_FACE_POS
#endif // __VCG_JUMPING_FACE_POS