Project

General

Profile

« Previous | Next » 

Revision 8c57d77b

Added by Leszek Koltunski about 1 year ago

Decouple (to a large degree) the OpenGL Library from Android.

View differences:

src/main/java/org/distorted/library/mesh/MeshSquare.java
21 21
package org.distorted.library.mesh;
22 22

  
23 23
///////////////////////////////////////////////////////////////////////////////////////////////////
24

  
25
import org.distorted.library.main.DistortedLibrary;
26

  
24 27
/**
25 28
 * Create a flat, rectangular grid.
26 29
 * <p>
......
195 198
    buildGrid(attribs1,attribs2);
196 199

  
197 200
    if( remainingVert!=0 )
198
      android.util.Log.d("MeshRectangles", "remainingVert " +remainingVert );
201
      DistortedLibrary.logMessage("MeshSquare: remainingVert " +remainingVert );
199 202

  
200 203
    setAttribs(attribs1,attribs2);
201 204
    }
......
220 223
    buildGrid(attribs1,attribs2,xLoc,yLoc);
221 224

  
222 225
    if( remainingVert!=0 )
223
      android.util.Log.d("MeshRectangles", "remainingVert " +remainingVert );
226
      DistortedLibrary.logMessage("MeshSquare: remainingVert " +remainingVert );
224 227

  
225 228
    setAttribs(attribs1,attribs2);
226 229
    }

Also available in: Unified diff