Minor optimizations

This commit is contained in:
Alessandro Ranellucci 2013-09-13 15:19:15 +02:00
parent 6e22a82e7d
commit 4dce461aaf
8 changed files with 31 additions and 30 deletions

View file

@ -15,7 +15,7 @@
%code{% THIS->polyline.points.pop_back(); %};
void reverse();
Lines lines()
%code{% RETVAL = Lines(); THIS->polyline.lines(RETVAL); %};
%code{% RETVAL = THIS->polyline.lines(); %};
Point* first_point()
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = THIS->first_point(); %};
Point* last_point()