Transforming a mesh
#1057
-
I have a Manifold object and a transformation matrix which I want to apply:
Then I extract vertex data after the transformation:
But nothing is changed. All the vertex coordinates match to original m. |
Beta Was this translation helpful? Give feedback.
Answered by
elalish
Nov 18, 2024
Replies: 1 comment 1 reply
-
Note that our API is functional - nearly every method is |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ofmetal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that our API is functional - nearly every method is
const
. What you're missing ism = m.Transform(t)
. We handle the eliding of copies internally.