[sldev] Linear motion interpolation weirdness?

John Hurliman jhurliman at wsu.edu
Mon Apr 9 00:24:16 PDT 2007


Kamilion wrote:
> Hm, seems a little confusing... if I add a couple of spaces, it looks
> a littler clearer.
>
> if (   !(   accel.isExactlyZero() && vel.isExactlyZero()   )   )
>
> Looks like it's checking if accel AND vel are NOT exactly zero, then
> executing...
>
> Late night code reading error? You tell me.
>
> Cheers.

Ahh, thanks! I wish I could blame it on a late night coding error, but 
I've actually stared at that line on three different occasions now 
*blush*. I should try running a code formatter.

John Hurliman


More information about the SLDev mailing list