For example
void rotate(&m, amount, axis)
I used to know it 6 months ago, I even made a note on it but now I can't find that note.
Matrices in VEX; what does the ampersand with matrices mean?
1724 3 0- Fabrizio123
- Member
- 11 posts
- Joined: April 2011
- Offline
- animatrix_
- Member
- 4705 posts
- Joined: Feb. 2012
- Offline
Hi,
It means the argument is passes by reference:
https://pediaa.com/what-is-the-difference-between-pass-by-value-and-pass-by-reference/#:~:text=The%20main%20difference%20between%20pass,parameter%20passes%20to%20the%20function.
It means the argument is passes by reference:
https://pediaa.com/what-is-the-difference-between-pass-by-value-and-pass-by-reference/#:~:text=The%20main%20difference%20between%20pass,parameter%20passes%20to%20the%20function.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- tamte
- Member
- 8787 posts
- Joined: July 2007
- Online
- Fabrizio123
- Member
- 11 posts
- Joined: April 2011
- Offline
-
- Quick Links