I have a structure:
typedef struct {
double x,y,z;
} XYZ;
I want to define a function like this:
double CalcDisparity(XYZ objposition,
XYZ eyeposition,
double InterOccularDistance = 65.0)
But I can't seem to find a way to assign a default value to eyeposition. How can I do this in C++?