vector3_t makevector3_t(threeVec in_3vec) { vector3_t new_3vec = {in_3vec.x(),in_3vec.y(),in_3vec.z()}; return new_3vec; } vector4_t makevector4_t(fourVec in_4vec) { vector4_t new_4vec = {in_4vec.t(),in_4vec.x(),in_4vec.y(),in_4vec.z()}; return new_4vec; } fourVec makefourVec(vector4_t in_4vec) { fourVec new_4vec; new_4vec.set(in_4vec.t,in_4vec.space.x,in_4vec.space.y,in_4vec.space.z); return new_4vec; } ////cout << "===== t : x : y : z =====" << endl; ////cout << in_4vec.t() << endl; ////cout << in_4vec.x() << endl; ////cout << in_4vec.y() << endl; ////cout << in_4vec.z() << endl;