Erik Faye-Lund a56dc45690 interpolation: smooth means smoothstep, not cosine
Smoothstep[1] is a nice smooth alternative to cosine that
doesn't require special math functons, and should thus be
suitable on more platforms. The cosine-curve and the
smoothstep are very similar, and this change introduces
only a very small error (always less than 1 per cent)
compared to the old result.

Change the smooth curve definition to match this.

[1]: http://en.wikipedia.org/wiki/Smoothstep
2010-03-25 00:13:02 +01:00
..
2010-03-24 21:41:35 +01:00
2010-03-19 17:41:37 +01:00
2010-03-19 17:41:37 +01:00
2010-03-24 17:58:20 +01:00
2010-03-24 17:58:20 +01:00
2010-03-19 17:41:37 +01:00
2010-03-19 17:41:37 +01:00