private void saveModel(string fileName) { if (m == null) { return; } m.saveObjModel(fileName); }
private void exportObjFile(string fileName) { if (md5model == null) { return; } WavefrontOBJ obj = new WavefrontOBJ(); md5model.addToSimpleStaticMeshBuilder(obj); obj.saveObjModel(fileName); }
private void exportObjFile(string fileName) { if (map == null) { return; } WavefrontOBJ obj = new WavefrontOBJ(); ConvexVolumeArrayToWaveFrontObjIterator converter = new ConvexVolumeArrayToWaveFrontObjIterator(obj); map.iterateBrushes(converter); obj.saveObjModel(fileName); }