Project

General

Profile

« Previous | Next » 

Revision f046b159

Added by Leszek Koltunski almost 4 years ago

First attempt at the MeshBase.apply(VertexEffect) API.

View differences:

src/main/java/org/distorted/library/main/InternalRenderState.java
250 250

  
251 251
///////////////////////////////////////////////////////////////////////////////////////////////////
252 252

  
253
  static void switchOffDrawing()
253
  public static void switchOffDrawing()
254 254
    {
255 255
    GLES30.glEnable(GLES30.GL_SCISSOR_TEST);
256 256
    GLES30.glScissor(0,0,0,0);
......
258 258

  
259 259
///////////////////////////////////////////////////////////////////////////////////////////////////
260 260

  
261
  static void restoreDrawing()
261
  public static void restoreDrawing()
262 262
    {
263 263
    GLES30.glDisable(GLES30.GL_SCISSOR_TEST);
264 264
    }

Also available in: Unified diff