Ported TriangleMesh::scale_xyz()

This commit is contained in:
Alessandro Ranellucci 2013-09-09 23:38:49 +02:00
parent 5e34a9cf21
commit 9b12d6037a
7 changed files with 45 additions and 17 deletions

View file

@ -13,6 +13,8 @@
void repair();
void WriteOBJFile(char* output_file);
void scale(float factor);
void scale_xyz(std::vector<double> versor)
%code{% THIS->scale(versor); %};
void translate(float x, float y, float z);
void align_to_origin();
void rotate(double angle, Point* center);

View file

@ -1,6 +1,7 @@
%typemap{bool}{simple};
%typemap{std::string};
%typemap{std::vector<unsigned int>*};
%typemap{std::vector<double>};
%typemap{std::vector<double>*};
%typemap{SV*};
%typemap{AV*};