commit c52ddff8a83483c0a51a34225f587fcda594391a
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Fri May 29 19:24:09 2020 +0100

    Preparation for saving/reading Meshes to/from a file.

diff --git a/src/main/java/org/distorted/library/mesh/MeshBase.java b/src/main/java/org/distorted/library/mesh/MeshBase.java
index 6029ba4..0aee0c5 100644
--- a/src/main/java/org/distorted/library/mesh/MeshBase.java
+++ b/src/main/java/org/distorted/library/mesh/MeshBase.java
@@ -30,6 +30,8 @@ import org.distorted.library.main.InternalBuffer;
 import org.distorted.library.program.DistortedProgram;
 import org.distorted.library.type.Static4D;
 
+import java.io.InputStream;
+import java.io.OutputStream;
 import java.nio.ByteBuffer;
 import java.nio.ByteOrder;
 import java.nio.FloatBuffer;
@@ -498,9 +500,28 @@ public abstract class MeshBase
      return mInflate;
      }
 
+///////////////////////////////////////////////////////////////////////////////////////////////////
+/**
+ * Read this mesh from a InputStream.
+ */
+  void read(final InputStream stream)
+    {
+
+    }
+
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 // PUBLIC API
 ///////////////////////////////////////////////////////////////////////////////////////////////////
+/**
+ * Save the Mesh to a OutputStream.
+ */
+  public void save(final OutputStream stream)
+    {
+
+    }
+
+///////////////////////////////////////////////////////////////////////////////////////////////////
+
 /**
  * When rendering this Mesh, do we want to render the Normal vectors as well?
  * <p>
