Public Member Functions | |
| bool | operator() (const type &a, const type &b) const |
Definition at line 227 of file OSGExtrusionGeometry.h.
| bool osg::ExtrusionSurface::vecless< type >::operator() | ( | const type & | a, | |
| const type & | b | |||
| ) | const [inline] |
Definition at line 65 of file OSGExtrusionGeometry.inl.
References osg::Eps, and osg::osgabs().
00067 { 00068 UInt32 i; 00069 bool ret = false; 00070 for(i = 0; i < type::_iSize; i++) 00071 { 00072 if(osgabs(a[i] - b[i]) < Eps) 00073 continue; 00074 if(a[i] > b[i]) 00075 { 00076 ret = false; 00077 break; 00078 } 00079 ret = true; 00080 break; 00081 } 00082 return ret; 00083 }
1.5.5