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

   2155   3   0
User Avatar
Member
11 posts
Joined: 4月 2011
オフライン
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
9264 posts
Joined: 7月 2007
オフライン
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: 4月 2011
オフライン
Thanks a lot to both of you for your generous replies.
  • Quick Links