Notifications
Clear all
[Closed] PreTranslate
Oct 16, 2015 2:54 pm
What is difference between
translate <matrix3> <point3>
and
preTranslate <matrix3> <point3>
?
4 Replies
Oct 16, 2015 2:54 pm
pretranslate is equivalent to a local space translation
$.transform = pretranslate $.transform [10,0,0]
move 10 along local x, where as translate would be a world space shift
$.transform = translate $.transform [10,0,0]
move 10 along world x
1 Reply
Oct 16, 2015 2:54 pm
yes prerotate would be equivalent to a local rotation but the “pre” refers to multiply on the left
tm * pt
as opposed to
pt * tm