예제 #1
0
 public DxfMeshLoader(IVertexFactory vertexFactory, IFaceFactory faceFactory)
 {
   if (vertexFactory == null) throw new ArgumentNullException("vertexFactory");
   if (faceFactory == null) throw new ArgumentNullException("faceFactory");
   _vertexFactory = vertexFactory;
   _faceFactory = faceFactory;
 }
 public DxfMeshLoader(IVertexFactory vertexFactory, IFaceFactory faceFactory)
 {
     if (vertexFactory == null)
     {
         throw new ArgumentNullException("vertexFactory");
     }
     if (faceFactory == null)
     {
         throw new ArgumentNullException("faceFactory");
     }
     _vertexFactory = vertexFactory;
     _faceFactory   = faceFactory;
 }
예제 #3
0
 public ObjMeshLoader(IVertexFactory vertexFactory, IFaceFactory faceFactory)
 {
   _vertexFactory = vertexFactory;
   _faceFactory = faceFactory;
 }
 public MeshLoaderFactory(IVertexFactory vertexFactory, IFaceFactory faceFactory)
 {
     _vertexFactory = vertexFactory;
     _faceFactory   = faceFactory;
 }