Quantcast

Allow for multiplication and division of conditions that return numbers.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-10-15 01:26:10
Author local date 2013-10-15 01:26:10 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-10-15 01:26:10
Committer local date 2013-10-15 01:26:10 +0000
Commit 00978db9f0c72efa4be897bd88bd897fe85c02b8
Tree 9532e63d6ce3856a2e341b922e443732298dbd28
Parent 236e949e4d9e9bf2230e71683b4dc842eddef1f4
Allow for multiplication and division of conditions that return numbers.

All "numbers" are actually linear functions of the form:

	f(t) = a + (t - b)*c.

Multiplication and division of linear functions does not yield a linear
function in the general case, but the resulting function can be
approximated with a first order Taylor series expansion around the current
time point.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1058 d5049fe3-3747-40f7-a4b5-f36d6801af5f