From: Jason M. <ko...@gm...> - 2008-08-24 19:50:03
|
Henri Häkkinen wrote: > Another open issues has came up: > > Do you think we should allow something like this: > > glmMatInverse2f (&mat, &mat); > glmMatTranspose2f (&mat, &mat); > glmVecAdd2f (&vec, &vec, &vec); > > For some functions, this add some additional processing since it needs > to store temporary values of matrix members before performing an > operation, such as: > > ... > > My proposal is that we allow glmMatInverse2f (&mat, &mat) and live > with the additional overhead. -Self funcs may still be included for > convenience (at some later GLM versions). Agreed. It adheres to the principle of least surprise. The less-careful user will expect to be able to pass the same parameter, or outputs as inputs, and we should allow it. |