Updated BSpline example codes. Now it's rendered by OpenGL.