Skip to content
Discussion options

You must be logged in to vote

Oh, I think I know what's going on. Please try

rotation = mi.ScalarTransform4f.rotate([0.0, 1.0, 0.0], theta) @ origin

rotate here is a static method which is why it's returning just the transformation and not transformation applied to origin

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Whisper-MMM
Comment options

@rtabbara
Comment options

Answer selected by Whisper-MMM
@Whisper-MMM
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants