| 157 | } |
| 158 | |
| 159 | void FeatureSet::removeFeature( const FeatureType &type ) |
| 160 | { |
| 161 | for ( U32 i=0; i < mFeatures.size(); i++ ) |
| 162 | { |
| 163 | const FeatureInfo &info = mFeatures[i]; |
| 164 | if ( info.type == &type ) |
| 165 | { |
| 166 | mFeatures.erase_fast( i ); |
| 167 | mDescription.clear(); |
| 168 | return; |
| 169 | } |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | S32 FeatureSet::getNextFeatureIndex( const FeatureType &type, S32 index ) const |
| 174 | { |
no test coverage detected