urho3d/Urho3D — pull request #245 by alexparlett (2014-03-09 13:19:39+00:00)
Title: Spline Refactor

Refactor the Spline class into two parts SplinePath and Spline.

### Spline

This is the mathematical functionality separated out that provides Bezier Curve (for now, working on Catmul Rom) Interpolation for float, Vector[2,3,4] and Color. It provides functionality for:
* Management of Knots (Control Points).
* Getting a position along the Spline from 0.0f - 1.0f.
* Management of Interpolation Mode.
Note Linear Interpolation is provided by using only two Knots or Control points in Bezier Curve Interpolation Mode.

### SplinePath

This is the Component part that when attached to a Parent Node uses that Parent's children as the Control Points / Knots of the Spline, provides functionality for:
* Moving the Parent Node along the Spline based on Speed.
* Setting the Parent's position along the Spline.
* Debug Rendering.
* Setting the Interpolation Mode.
* Getting a Point from the Spline from 0.0f - 1.0f.
This is a Vector3 implementation.

Debug Rendering Example
![Debug Rendering](https://dl.dropboxusercontent.com/u/30584379/Urho/splinepath-debug.png)

fixes #229