Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="path"></param>
        /// <param name="setPosition"></param>
        /// <returns></returns>
        public TM CreateFromOBJ(string path, Action <TV, Vec3d> setPosition)
        {
            var result = Create();

            HeMeshIO.ReadFromOBJ(path, result, setPosition);
            return(result);
        }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="path"></param>
 public void WriteToOBJ(string path)
 {
     HeMeshIO.WriteToOBJ(this, path, _getPosition, _getNormal, _getTexture);
 }