Completely agree .... I ran into this recently with a routine where I wanted to average between 2 and 4 vector types ...
Avg ( 2 [no of vectors], v1.vector , v2.vector , v3.vector, v4.vector )
If I only wanted to average the 1st two vectors , the only way I could get round it was to create a dummy vector type and pass that as both V3 and V4... even though I had no use for them. I just stuck to haveing a different function for each ... quite annoying.
I'd be interested if anyone has a better solution.
Avg ( 2 [no of vectors], v1.vector , v2.vector , v3.vector, v4.vector )
If I only wanted to average the 1st two vectors , the only way I could get round it was to create a dummy vector type and pass that as both V3 and V4... even though I had no use for them. I just stuck to haveing a different function for each ... quite annoying.
I'd be interested if anyone has a better solution.