Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/collada/MeshImporter.h
| Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | private: | ||||
| typedef std::map<COLLADAFW::MaterialId, std::vector<Primitive>> MaterialIdPrimitiveArrayMap; | typedef std::map<COLLADAFW::MaterialId, std::vector<Primitive>> MaterialIdPrimitiveArrayMap; | ||||
| /* crazy name! */ | /* crazy name! */ | ||||
| std::map<COLLADAFW::UniqueId, MaterialIdPrimitiveArrayMap> geom_uid_mat_mapping_map; | std::map<COLLADAFW::UniqueId, MaterialIdPrimitiveArrayMap> geom_uid_mat_mapping_map; | ||||
| /* < materials that have already been mapped to a geometry. | /* < materials that have already been mapped to a geometry. | ||||
| * A pair/of geom uid and mat uid, one geometry can have several materials */ | * A pair/of geom uid and mat uid, one geometry can have several materials */ | ||||
| std::multimap<COLLADAFW::UniqueId, COLLADAFW::UniqueId> materials_mapped_to_geom; | std::multimap<COLLADAFW::UniqueId, COLLADAFW::UniqueId> materials_mapped_to_geom; | ||||
| bool set_poly_indices( | bool set_poly_indices( | ||||
| MPoly *mpoly, MLoop *mloop, int loop_index, unsigned int *indices, int loop_count); | MPoly *mpoly, MLoop *mloop, int loop_index, const unsigned int *indices, int loop_count); | ||||
| void set_face_uv(MLoopUV *mloopuv, | void set_face_uv(MLoopUV *mloopuv, | ||||
| UVDataWrapper &uvs, | UVDataWrapper &uvs, | ||||
| int loop_index, | int loop_index, | ||||
| COLLADAFW::IndexList &index_list, | COLLADAFW::IndexList &index_list, | ||||
| int count); | int count); | ||||
| void set_vcol(MLoopCol *mloopcol, | void set_vcol(MLoopCol *mloopcol, | ||||
| ▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines | |||||