Skip to content

Commit

Permalink
Support exporting GL mesh.
Browse files Browse the repository at this point in the history
  • Loading branch information
cartesian-theatrics committed Apr 5, 2024
1 parent 7540cf6 commit 9115280
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bindings/java/src/main/java/manifold3d/manifold/MeshIO.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package manifold3d.manifold;

import manifold3d.pub.DoubleMesh;
import manifold3d.manifold.MeshGL;
import manifold3d.manifold.ExportOptions;

import manifold3d.LibraryPaths;
Expand All @@ -14,6 +15,6 @@ public class MeshIO {
static { Loader.load(); }

public native static @ByVal DoubleMesh ImportMesh(@StdString String filename, @Cast("bool") boolean forceCleanup);

public native static void ExportMesh(@StdString String filename, @Const @ByRef DoubleMesh mesh, @Const @ByRef ExportOptions options);
public native static void ExportMesh(@StdString String filename, @Const @ByRef MeshGL mesh, @Const @ByRef ExportOptions options);
}
2 changes: 1 addition & 1 deletion bindings/java/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.77
1.0.78

0 comments on commit 9115280

Please sign in to comment.