Ejemplo n.º 1
0
        public static MpHeFace_v1001 Create(HeFace face)
        {
            MpHeFace_v1001 ret = new MpHeFace_v1001();

            ret.ID     = face.ID;
            ret.HeadID = face.Head.ID;
            ret.Normal = face.Normal;

            return(ret);
        }
Ejemplo n.º 2
0
        public static List <MpHeFace_v1001> HeFaceListToMp(FlexArray <HeFace> list)
        {
            List <MpHeFace_v1001> ret = new List <MpHeFace_v1001>();

            for (int i = 0; i < list.Count; i++)
            {
                ret.Add(MpHeFace_v1001.Create(list[i]));
            }

            return(ret);
        }