Ported PrintObject::bounding_box() to XS

This commit is contained in:
Alessandro Ranellucci 2014-11-30 21:58:41 +01:00
parent 1fda9e3d50
commit c7f5753a28
4 changed files with 17 additions and 10 deletions

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; %};