Tetrehedra Rotation

A Tetrahedra is composed by a face list of triangles. The total number of vertices is (number of faces) * 3 = 15. The vertices algorithm is:

v[0] = top x location;
v[1] = top y location;
v[2] = top z location ;
v[3] = bottom x location for pt1;
v[4] = bottom y location for pt1;
v[5] = bottom z location for pt1;
v[6] = bottom x location for pt2;
v[7] = bottom y location for pt2;
v[8] = bottom z location for pt2;
v[9] = bottom x location for pt3;
v[10] = bottom y location for pt3;
v[11] = bottom z location for pt3;
v[12] = bottom x location for pt4;
v[13] = bottom y location for pt4;
v[14] = bottom z location for pt4;

The number of faces is 5. The face list algorithm is:

face[0]= face list of pts (0,1,2,0);
face[1]= face list of pts (0,2,3,0);
face[2]= face list of pts (0,3,4,0);
face[3]= face list of pts (0,1,4,0);
face[4]= face list of pts(1,2,3,4);