Implemented general Cubic Hermite Splines 2D function. It supports several types of splines {CARDINAL,FinalDiff,Catmull-ROM}The challenge was to implement it so it matches exactly the Microsoft's GDI+ implementation in DrawCurve() - this was achieved.
Function can be easily expanded to 3D.
No comments:
Post a Comment