Thank you everyone, it is totally clear to me now. Also I'll postpone my porting job for a while and will go read more into pointers, seems like that pointers are bottleneck of difference between C++...
Thank you. Probably looping using pointers has some speed gain, but really, that is my 3rd question regarding C++ and solution is related to pointers again. Next time I stuck, I'll just go back and...
Thank you very much, seems like my original thought was misleading, but now I see what it does exactly and can port it. It is very good to know names of such things, and now I can also google "...
Thank you, using "address-of" keyword I was finally able to find what is was about. I'm confused not really about address, but about that part: tris[first_tri]
I have another problem, need to understand how that line of code works:
function calling in C++:
split_tris(&m->tris[first_tri], num_tris, axis, coord);
Thank you, so I assume it is just safe to convert it to actual function? Wonder why use #define in the first place at all, but I'll just make static function from it then.