Project

General

Profile

« Previous | Next » 

Revision 10836924

Added by Leszek Koltunski over 4 years ago

new app icons; skeleton of reading/write a Mesh from/to a file.

View differences:

src/main/java/org/distorted/library/mesh/MeshBase.java
30 30
import org.distorted.library.program.DistortedProgram;
31 31
import org.distorted.library.type.Static4D;
32 32

  
33
import java.io.InputStream;
34
import java.io.OutputStream;
33 35
import java.nio.ByteBuffer;
34 36
import java.nio.ByteOrder;
35 37
import java.nio.FloatBuffer;
......
767 769
///////////////////////////////////////////////////////////////////////////////////////////////////
768 770
// PUBLIC API
769 771
///////////////////////////////////////////////////////////////////////////////////////////////////
772
/**
773
 * Write tthe Mesh to an OutputStream.
774
 */
775
   public void write(OutputStream stream)
776
     {
777

  
778
     }
779

  
780
///////////////////////////////////////////////////////////////////////////////////////////////////
781
/**
782
 * Read the mesh from an InputStream.
783
 */
784
   public void read(InputStream stream)
785
     {
786

  
787
     }
788

  
789
///////////////////////////////////////////////////////////////////////////////////////////////////
790

  
770 791
/**
771 792
 * When rendering this Mesh, do we want to render the Normal vectors as well?
772 793
 * <p>

Also available in: Unified diff