Affine transforms - matrix algebra
Pavel Safrata
pavel.safrata at oracle.com
Tue Jul 24 04:30:47 PDT 2012
On 24.7.2012 12:57, Martin Desruisseaux wrote:
> 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.)?
>
Right, probably not.
Thanks,
Pavel
> Martin
>
More information about the openjfx-dev
mailing list