From dcd031a38d7fd51ae865b421f69332291fdc829a Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab <paolo.cignoni@isti.cnr.it> Date: Mon, 16 Jul 2007 10:00:14 +0000 Subject: [PATCH] added some using keywords and templates --- vcg/simplex/face/jumping_pos.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/vcg/simplex/face/jumping_pos.h b/vcg/simplex/face/jumping_pos.h index d8ff534d..123d80ee 100644 --- a/vcg/simplex/face/jumping_pos.h +++ b/vcg/simplex/face/jumping_pos.h @@ -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 \ No newline at end of file +#endif // __VCG_JUMPING_FACE_POS