예제 #1
0
 public static IGeometry Mesh(int sidesPerFace, IArray <Vector3> vertices, IArray <int> indices = null, IArray <Vector2> uvs = null, IArray <int> materialIds = null)
 => G3DExtensions.ToG3D(sidesPerFace, vertices, indices, uvs, materialIds).ToIGeometry();
예제 #2
0
 public static IGeometry ReadG3D(string filePath)
 => G3DExtensions.ReadFromFile(filePath).ToIGeometry();