13 DEBUG_INFO(
"DESTRUCTOR: CNiBVHTool\n");
60 if (fp==NULL ||
bvh_tool==NULL)
return FALSE;
65 if (
bvh_tool->state!=0)
return FALSE;
97 for (
int j=0; j<
bvh_tool->joint_num; j++) {
103 jdata[j].
vect.c = 1.0;
105 jdata[j].
quat.c = 1.0;
127 del_tList(&namelist);
161 if (frmnum<0)
return NULL;
163 if (fps<=0) fps = 30;
164 int msec = (int)(1000./fps*frmnum);
187 jointsData[j].
vect = BSplineInterp4 (jdat1[j].vect, jdat2[j].vect, t);
188 jointsData[j].
quat = SlerpQuaternion(jdat1[j].quat, jdat2[j].quat, t);
#define BVH_ADD_JOINTNAME_TXT
NiFrameData * makeFramesData(int frame, int joint_num, int *frame_num)
int BVHJoint2NiJointNum(tList *lt, Buffer joint_name)
tList * setBVHJointName(void)
tList * addBVHJointName(char *fname, tList *lt)
Quaternion< double > quat