(08-15-2011, 11:00 PM)Orphis Wrote: Bezier and spline aren't easy functions at all. And actually, the spline isn't complete at all. Good luck with that...
But you should check first if the games are really using it, it shouldn't be that often.
I doubt it wouldn't be easy, but I'm sure there is something we can do. I'll check using the profiler to see if it is worth or not to try messing with these functions first. As you said, better optimize a heavy tasks, and not a light weight ones. I'll need to dig the code, and find some theory about Bezier curves calculation and Spline approx. (if they are what I think they are, it's about maths), but It will be a good challenge. =)