12 typedef vector<T> base_class_type;
13 typedef typename base_class_type::iterator iterator;
14 typedef typename base_class_type::const_iterator const_iterator;
16 void erase(
int nIndex)
18 if (nIndex < (
int)base_class_type::size()){
19 base_class_type::operator[](nIndex) = base_class_type::back();
21 base_class_type::pop_back();
24 iterator erase(iterator _Where)
26 *_Where = base_class_type::back();
27 size_t nIndex = (_Where - base_class_type::begin());
28 base_class_type::pop_back();
29 return !base_class_type::empty() ? (base_class_type::begin()+nIndex) : base_class_type::end();
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: unordered_array.hpp:9