###

» Thu Jan 01, 2009 6:18 pm

Oops, I had an error in my previous post. Of course, when the number of order rises, the amount of parameters rises too. If I'm not mistaken, it's

[code:1w0nt6ri]lerp(lerp(lerp(a,b,x),lerp(b,c,x),x),lerp(lerp(b,c,x),lerp(c,d,x),x),x)[/code:1w0nt6ri]

And it can be shortened to [code:1w0nt6ri]lerp(qarp(a,b,c,x), quarp(b,c,d,x), x)[/code:1w0nt6ri]

Fortunately cubic curve is the curve of highest order needed in practical computing :D...