Affine transforms - matrix algebra
Martin Desruisseaux
martin.desruisseaux at geomatys.fr
Tue Jul 24 03:57:57 PDT 2012
Le 24/07/12 12:44, Pavel Safrata a écrit :
> The MAT was introduced because there is no obvious choice of the
> default type. The 4x4 type forces you to always add four useless
> values to your array (that have no corresponding members in the class
> you are constructing). I agree that the described problem may occur.
> So I think I'd rather get rid of the simple methods completely and
> provide only the ones using MAT. We can on the other hand provide two
> variants, one with the beginIndex, second without it.
I agree that removing the simple methods would be safer. About the
variants without 'beginIndex', is it really worth to duplicate maybe 4
methods just for saving "0," in method calls that are expected to be
less frequent than other methods (translate, transform, etc.)?
Martin
More information about the openjfx-dev
mailing list