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

   1471   3   0
User Avatar
Member
11 posts
Joined: 4月 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
8583 posts
Joined: 7月 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
FX Supervisor
Method Studios, NY
User Avatar
Member
11 posts
Joined: 4月 2011
Offline
Thanks a lot to both of you for your generous replies.
  • Quick Links