public static warp_Quaternion Ode2WarpQuaternion(Ode.Quaternion odeQ) { warp_Quaternion q = new warp_Quaternion( ( float )odeQ.X, ( float )odeQ.Y, ( float )odeQ.Z, ( float )odeQ.W); return(q); }
public static Ode.Quaternion Warp2OdeQuaternion(warp_Quaternion q) { Ode.Quaternion odeQ = new Ode.Quaternion(); odeQ.W = q.W; odeQ.X = q.X; odeQ.Y = q.Y; odeQ.Z = q.Z; return(odeQ); }
public static Ode.Quaternion Warp2OdeQuaternion( warp_Quaternion q ) { Ode.Quaternion odeQ = new Ode.Quaternion(); odeQ.W = q.W; odeQ.X = q.X; odeQ.Y = q.Y; odeQ.Z = q.Z; return odeQ; }