Subversion Repositories gelsvn

Rev

Rev 89 | Rev 178 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 136
Line 48... Line 48...
48
		int no_faces() const {return faces.size();}
48
		int no_faces() const {return faces.size();}
49
 
49
 
50
		/** Return the face corresponding to a given index. 
50
		/** Return the face corresponding to a given index. 
51
				
51
				
52
				The NULL_FACE	is returned if the index is out of bounds. */
52
				The NULL_FACE	is returned if the index is out of bounds. */
53
		const CGLA::Vec3i& face(int idx) const
53
		const CGLA::Vec3i& face(size_t idx) const
54
		{
54
		{
55
			if(idx<faces.size())
55
			if(idx<faces.size())
56
				return faces[idx];
56
				return faces[idx];
57
			return NULL_FACE;
57
			return NULL_FACE;
58
		}
58
		}