Affine transforms - matrix algebra

Pavel Safrata pavel.safrata at oracle.com
Mon Jul 16 04:37:10 PDT 2012


Hi Kirill,
it is just for convenience. The point is that if you have algorithms or 
other libraries that use the fourth row, you can work with the array 
right away.
Regards,
Pavel

On 16.7.2012 13:28, Kirill.Prazdnikov wrote:
> Hi Pavel,
>
>>     public Affine(double[] matrix)
>>         // accepts arrays of length 6, 12 and 16.
>>         // In case of 16 members the last four numbers must be 0, 0, 
>> 0, 1
>>         // throws IllegalArgument if the above conditions are not met 
>
> What is the point of setting 4x4 matrix of the last row must be 0,0,0,1 ?
> Should we remove 4x4 case at all ?
>
> Thanks
>
>




More information about the openjfx-dev mailing list