Matrices in VEX; what does the ampersand with matrices mean?

   2121   3   0
User Avatar
Member
11 posts
Joined: April 2011
Offline
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.
User Avatar
Member
9249 posts
Joined: July 2007
Offline
generally in VEX it just means that that variable will be modified
so your m matrix itself will be rotated, rather than rotated matrix being returned from the function
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
11 posts
Joined: April 2011
Offline
Thanks a lot to both of you for your generous replies.
  • Quick Links