>
> this snippet code taken form Hermite3d what are
> p0,p1,p2,p3
the curve is drawn between p1 and p2
p0 and p3 provide tangent information.
> and
> how to calculate tangent vector
The vector p0->p1 is the tangent vector at p1.
The vector p2->p3 is the tangent vector at p3.
This might make
this snippet code taken form Hermite3d what are
p0,p1,p2,p3 and
how to calculate tangent vector
and pRight,pLeft,sRight and pLeft used for.
void render(boolean tFill, short colix, int tension,int diameterBeg, int diameterMid, int diameterEnd,Point3i p0, Point3i p1, Point3i p2, Point3i p3) {