Creating tube using path--Rendering hermite spline

Hi All,

I’m trying to render a hermite spline curve by creating cubes using GL_QUADS. However, I’m having problems getting results anywhere near correct.

I’m guessing i need to create a series of quads from the path created by the hermite spline. Does anyone have any example code or can assist in creating a tube by following a path?

See the *tube.cs here: