From 165db89ccfc51d20ebf159e1d516607624acb2fe Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Wed, 8 Feb 2006 17:04:10 +0000 Subject: [PATCH] added typenames declaration in rayIterator --- vcg/space/index/space_iterators.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vcg/space/index/space_iterators.h b/vcg/space/index/space_iterators.h index b2e1e903..54b2e012 100644 --- a/vcg/space/index/space_iterators.h +++ b/vcg/space/index/space_iterators.h @@ -15,12 +15,14 @@ namespace vcg{ template class RayIterator - { + { + public: + typedef typename Spatial_Idexing::ScalarType ScalarType; + typedef typename vcg::Ray3 RayType; + typedef typename Spatial_Idexing::Box3x IndexingBoxType; protected: typedef typename Spatial_Idexing::ObjType ObjType; - typedef typename Spatial_Idexing::ScalarType ScalarType; typedef typename vcg::Point3 CoordType; - typedef typename vcg::Ray3 RayType; typedef typename Spatial_Idexing::CellIterator CellIterator; ///control right bonding current cell index (only on initialization)