diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-04-16 22:22:04 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-04-16 22:22:04 +0300 |
commit | 5eb3bc52efa807c0439dba1ec0971fc37850d51e (patch) | |
tree | e14d9c7d1c513c7a878f75369d5eb5145a337468 /xs/src/libslic3r/TriangleMesh.hpp | |
parent | be2f46ca68b4a8a471a82439ad3dfd8a3d4adbb9 (diff) |
Ported ModelObject::rotate() and ModelObject::flip() to XS, as well as axes constants
Diffstat (limited to 'xs/src/libslic3r/TriangleMesh.hpp')
-rw-r--r-- | xs/src/libslic3r/TriangleMesh.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/src/libslic3r/TriangleMesh.hpp b/xs/src/libslic3r/TriangleMesh.hpp index 43ac68419..ff12e8427 100644 --- a/xs/src/libslic3r/TriangleMesh.hpp +++ b/xs/src/libslic3r/TriangleMesh.hpp @@ -32,9 +32,11 @@ class TriangleMesh void scale(float factor); void scale(const Pointf3 &versor); void translate(float x, float y, float z); + void rotate(float angle, const Axis &axis); void rotate_x(float angle); void rotate_y(float angle); void rotate_z(float angle); + void flip(const Axis &axis); void flip_x(); void flip_y(); void flip_z(); |