Revision ba70e7c9
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/library/mesh/MeshBase.java | ||
---|---|---|
777 | 777 |
if( mJobNode[0]!=null ) |
778 | 778 |
{ |
779 | 779 |
mJobNode[0].execute(); // this will set itself to null |
780 |
/* |
|
781 |
try |
|
782 |
{ |
|
783 |
String name = "/sdcard/"+mNumVertices+".dmesh"; |
|
784 |
DataOutputStream dos = new DataOutputStream(new java.io.FileOutputStream(name)); |
|
785 |
write(dos); |
|
786 |
android.util.Log.e("mesh", "file written: "+name); |
|
787 |
} |
|
788 |
catch(java.io.FileNotFoundException ex) |
|
789 |
{ |
|
790 |
android.util.Log.e("mesh", "file not found exception: "+ex.toString()); |
|
791 |
} |
|
792 |
*/ |
|
793 | 780 |
} |
794 | 781 |
|
795 | 782 |
int index1 = mVBO1.createImmediatelyFloat(mNumVertices*VERT1_SIZE, mVertAttribs1); |
Also available in: Unified diff
Mesh creation: finished.