Changeset 10757 for OpenSceneGraph/trunk/src/osgUtil/TriStrip_graph_array.h
- Timestamp:
- 11/16/09 16:17:57 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgUtil/TriStrip_graph_array.h
r9655 r10757 3 3 ////////////////////////////////////////////////////////////////////// 4 4 // 5 // Copyright (C) 2002 Tanguy Fautr é.5 // Copyright (C) 2002 Tanguy Fautrᅵ. 6 6 // 7 7 // This software is provided 'as-is', without any express or implied … … 21 21 // 3. This notice may not be removed or altered from any source distribution. 22 22 // 23 // Tanguy Fautr é23 // Tanguy Fautrᅵ 24 24 // softdev@pandora.be 25 25 // … … 259 259 template <class nodetype, class arctype> 260 260 inline typename graph_array<nodetype, arctype>::node & graph_array<nodetype, arctype>::operator [] (const nodeid & i) { 261 // Debug check262 // assert(i < size());263 if (i >= size()) throw "graph_array<nodetype, arctype>::operator [] out of range";264 265 261 return m_Nodes[i]; 266 262 } … … 269 265 template <class nodetype, class arctype> 270 266 inline const typename graph_array<nodetype, arctype>::node & graph_array<nodetype, arctype>::operator [] (const nodeid & i) const { 271 // Debug check272 // assert(i < size());273 if (i >= size()) throw "graph_array<nodetype, arctype>::operator [] out of range";274 275 267 return m_Nodes[i]; 276 268 }
