I have a set of methods which require the same three arguments (x,y and z). I pass them together in a class (actually a C++ struct) to get a cleaner code base (in my opinum).
Some functions just require two of these three arguments. What is the recommended approach for these functions, to pass the class with all three arguments and not use one of the arguments, or pass the arguments as two separate parameters?