Created
June 16, 2022 04:59
-
-
Save joshuazt/a8caa3b2db5168f5df74fbb2399fbec0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float scale = chf('scale'); | |
matrix3 trn = primintrinsic(0, "transform", @primnum); | |
matrix scalem = maketransform(0, 0, {0,0,0}, {0,0,0}, scale, @P); | |
trn *= matrix3(scalem); | |
setprimintrinsic(0, "transform", @primnum, trn); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment