summaryrefslogtreecommitdiff
path: root/openscad.h
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-10 13:32:22 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-10 13:32:22 (GMT)
commite3f339813c3a286eb4ac438aa32e2003b6ecab8a (patch)
tree277fe3bb4a831535ee47eea844dec1e1395d7025 /openscad.h
parent53f26d0308501ebf1d755553f8680bef6f838344 (diff)
Clifford Wolf:
Cache dxf_dim and dxf_cross results (massive speedup in designs using this functions) git-svn-id: http://svn.clifford.at/openscad/trunk@261 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'openscad.h')
-rw-r--r--openscad.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openscad.h b/openscad.h
index 71dbc02..8245ae8 100644
--- a/openscad.h
+++ b/openscad.h
@@ -684,6 +684,9 @@ public:
static CSGTerm *render_csg_term_from_ps(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background, PolySet *ps, const ModuleInstantiation *modinst, int idx);
};
+extern QHash<QString,Value> dxf_dim_cache;
+extern QHash<QString,Value> dxf_cross_cache;
+
extern int progress_report_count;
extern void (*progress_report_f)(const class AbstractNode*, void*, int);
extern void *progress_report_vp;
contact: Jan Huwald // Impressum