r2851 - trunk/data/qcsrc/menu-div0test/item
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Oct 26 07:12:30 EDT 2007
Author: div0
Date: 2007-10-26 07:12:30 -0400 (Fri, 26 Oct 2007)
New Revision: 2851
Modified:
trunk/data/qcsrc/menu-div0test/item/modalcontroller.c
Log:
remove unused "fd"; add final equation transformation to comment
Modified: trunk/data/qcsrc/menu-div0test/item/modalcontroller.c
===================================================================
--- trunk/data/qcsrc/menu-div0test/item/modalcontroller.c 2007-10-26 10:53:56 UTC (rev 2850)
+++ trunk/data/qcsrc/menu-div0test/item/modalcontroller.c 2007-10-26 11:12:30 UTC (rev 2851)
@@ -132,7 +132,7 @@
entity e;
entity front;
float animating;
- float f0, f, fd;
+ float f0, f;
vector to, ts; float ta;
animating = 0;
@@ -194,6 +194,8 @@
// -->
// X == (o - to * f0) / (1 - f0)
// o' = to * f + (o - to * f0) / (1 - f0) * (1 - f)
+ // --> (maxima)
+ // o' = (to * (f - f0) + o * (1 - f)) / (1 - f0)
}
if(animating)
me.focusedChild = NULL;
More information about the nexuiz-commits
mailing list