Quote Originally Posted by paul_nicholls
Just for fun, I rewrote it slightly to add some interface consistency, and to optimise it a bit
I dare claim that CatmullRom1f() would be more optimal if it didn't use variables tt,ttt However they reduce 9 multiplications in CatmullRom3f().

Yes those are also more consistent, my libs aren't always like that Catmull3f used to be function too until i needed to make it much faster for realtime 3D graphics.