Does anyone have any suggestions to create an interpolating spline curve. I'm trying to develop a game in opengl and I can't get the objects to follow a curve. The function should go something like.....
void interpolatePath(Vec3d startPos, Vec3d targetPos, float u, Vec3d &interpPos)