00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 INLINE EggMaterialCollection::iterator EggMaterialCollection::
00016 begin() const {
00017 nassertr(_ordered_materials.size() == _materials.size(),
00018 _ordered_materials.begin());
00019 return _ordered_materials.begin();
00020 }
00021
00022 INLINE EggMaterialCollection::iterator EggMaterialCollection::
00023 end() const {
00024 return _ordered_materials.end();
00025 }
00026
00027 INLINE bool EggMaterialCollection::
00028 empty() const {
00029 return _ordered_materials.empty();
00030 }
00031
00032 INLINE EggMaterialCollection::size_type EggMaterialCollection::
00033 size() const {
00034 nassertr(_ordered_materials.size() == _materials.size(), 0);
00035 return _ordered_materials.size();
00036 }