mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Ported TriangleMesh::scale_xyz()
This commit is contained in:
parent
5e34a9cf21
commit
9b12d6037a
7 changed files with 45 additions and 17 deletions
|
@ -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);
|
||||
|
|
|
@ -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*};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue