Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2013-02-27 17:53:43 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2013-02-27 17:53:43 +0400
commitdebc3ac91072b1fb8814629fa6545734cc5d90e3 (patch)
treec62a8936dc4de7f32827d512abebc15ff5dea4ec /source/blender/collada/GeometryExporter.h
parentd4d45711dc9f38802f640af5bd63fad2899b58cb (diff)
Collada export: Add ngon support (initial)
Diffstat (limited to 'source/blender/collada/GeometryExporter.h')
-rw-r--r--source/blender/collada/GeometryExporter.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/collada/GeometryExporter.h b/source/blender/collada/GeometryExporter.h
index 7cbbf0da8fa..ce1dc7832d3 100644
--- a/source/blender/collada/GeometryExporter.h
+++ b/source/blender/collada/GeometryExporter.h
@@ -75,7 +75,16 @@ public:
std::vector<Face>& norind);
// powerful because it handles both cases when there is material and when there's not
+ void createTriangulatedPolylist(short material_index,
+ bool has_uvs,
+ bool has_color,
+ Object *ob,
+ Mesh *me,
+ std::string& geom_id,
+ std::vector<Face>& norind);
+
void createPolylist(short material_index,
+ bool use_ngons,
bool has_uvs,
bool has_color,
Object *ob,
@@ -104,7 +113,7 @@ public:
COLLADASW::URI makeUrl(std::string id);
- void export_key_mesh(Object *ob, Mesh *me, KeyBlock *kb);
+ void export_key_mesh(Object *ob, Mesh *me, KeyBlock *kb, bool use_ngons);
/* int getTriCount(MFace *faces, int totface);*/
private: