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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-14 16:51:41 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-14 16:51:41 +0400
commitcad3406c812bf2b2c8d2994a68db0e9a68071268 (patch)
treed9efe606514e6def8ef60ae0421b34eaf654147f /intern/cycles/render/mesh.h
parentce6cfeca408213a83e0e4c9bb1d7e00c42ea52d8 (diff)
Fix some unnecessary memory allocation slowness in cycles mesh export.
Diffstat (limited to 'intern/cycles/render/mesh.h')
-rw-r--r--intern/cycles/render/mesh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/mesh.h b/intern/cycles/render/mesh.h
index b74c41f6453..a7703f7cabc 100644
--- a/intern/cycles/render/mesh.h
+++ b/intern/cycles/render/mesh.h
@@ -110,6 +110,7 @@ public:
void reserve(int numverts, int numfaces, int numcurves, int numcurvekeys);
void clear();
+ void set_triangle(int i, int v0, int v1, int v2, int shader, bool smooth);
void add_triangle(int v0, int v1, int v2, int shader, bool smooth);
void add_curve_key(float3 loc, float radius);
void add_curve(int first_key, int num_keys, int shader);