Actually, maybe not, because the interpolators must call the Alpha
value() method on a frequent basis. My own Alpha class could simply
intercept those calls, test the value on its way back and fire events
accordingly.

A fiddle but it might just work.

Thanks,
-Paul

-------- Original Message --------
Subject: Re: Alpha and/or interpolator firing events
Date: Mon, 15 Mar 2004 17:51:39 +0000
From: Paul Brown <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


Hi Daniel, I have your book and source code - they have been an inspiration to me.

If I understand you correctly though, and after looking at your
FileAlpha class, your suggestion of writing my own class which extends
Alpha would mean either:

1) repeating the time incrementing calculation, because all of the
calculation is hidden in the implementation of Alpha, in order that I
can fire events at particular times;

--or--

2) simply moving my polling routine into the extended Alpha class. Not
as elegant but sufficient.

That's fair enough, if that is the case. I was kinda hoping that I was
missing something else though.

Feeling lazy,
-Paul

===========================================================================
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