Bone.cpp
上传用户:jsylhbnbhn
上传日期:2013-11-03
资源大小:119k
文件大小:1k
- // bone.cpp: implementation of the bone class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "bone.h"
- #include "string.h"
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- bone::bone(int ID,char *name,int PID)
- {
- this->ID =ID;
- strcpy (this->name,name);
- this->PID = PID;
- this->x = 0;
- this->y = 0;
- this->r_x = 0;
- this->r_y = 0;
- this->r_z = 0;
- this->rotated_X = 0;
- this->rotated_Y = 0;
- this->is_marked = 0;
- this->start_arc_x = 0;
- this->start_arc_y = 0;
- this->start_arc_z = 0;
- this->end_arc_x = 0;
- this->end_arc_y = 0;
- this->end_arc_z = 0;
- this->CID = 0;
- }
- bone::~bone()
- {
- }