一.MatrixFrame,Vec3,Mat3
MatrixFrame frame = Vec3 orign(坐标X,Y,Z) + Mat3 rotation(旋转角度X,Y,Z);
1.Frame沿X/Y/Z轴移动
MatrixFrame frame;
Vec3 axixVec = frame.rotation.u
Vec3 position = frame.origin;
axixVec.Normalize();
position += axixVec * distance;
frame.origin = position;
2.Frame沿X/Y/Z轴旋转
MatrixFrame frame;
Mat3 rotation = frame.rotation;
rotation.RotateAboutForward(angle * MathF.DegToRad);
rotation.RotateAboutSide(angle * MathF.DegToRad);
rotation.RotateAboutUp(angle * MathF.DegToRad);
3.Frame获取沿X/Y/Z轴旋转角度
MatrixFrame frame;
Mat3 rotation = frame.rotation;
Vec3 eulerAngles = rotation.GetEulerAngles();
float ro