The following code is part of an easing equation. I'm just interested in the syntax.
sqrtf(1 - (t = t / d - 1) * t);
I haven't seen the '=' operator used like this before. What does it do in this context?
Edit: the code is from a well-known Robert Penner easing function, written in ActionScript:
static function easeOut (t:Number, b:Number, c:Number, d:Number):Number {
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
}