No need to be sorry, Andrew, since both yours and mine variants are
correct. I just didn't want to change anything in the original code to
make it more understandable. Look 're:

In the final loop when i = keysLength the assignment inside the loop
would look like

12        keyFrames[keysLength] = keys[keysLength-1];

In the last line we see

15     keyFrames[keysLength+1] = keys[keysLength-1];

Your variant says

>    keyFrames[keysLength+1] = keyFrames[keysLength];

Now comparing line 12 and your variant we see that line 15 is correct,
that is
keyFrames[keysLength+1] = keys[keysLength-1];

Thanks for other corrections though.

vladimir

Andrew Moulden wrote:
>
> Sorry Vladimir, the last line of that example should have been:
>
>    keyFrames[keysLength+1] = keyFrames[keysLength];
>
> Andrew Moulden
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to