Suppose I have a function like this:
What difference is it when making it like:PHP Code:
void Function1(const VECTOR3& v);
The function does not return anything into the v variable. So why cant I just use the last (without the pointer) to pass structures in my function;'s parameters?PHP Code:
void Function1(const VECTOR3* v);
or
void Function1(const VECTOR3 v);
What is best and what is used for which situation?