Ported PrintObject::bounding_box() to XS

This commit is contained in:
Alessandro Ranellucci committed 2014-12-01 00:00:12 +01:00
1 parent 1fda9e3d50
commit c7f5753a28
4 files changed
+17 -10

No files matched your search

+5
View File
@@ -61,6 +61,11 @@ _constant()
%code%{ RETVAL = THIS->layer_height_ranges; %};
Ref<Point3> size()
%code%{ RETVAL = &THIS->size; %};
BoundingBox* bounding_box()
%code{%
RETVAL = new BoundingBox();
THIS->bounding_box(RETVAL);
%};
Ref<Point> _copies_shift()
%code%{ RETVAL = &THIS->_copies_shift; %};