Project

General

Profile

« Previous | Next » 

Revision 42e62272

Added by Leszek Koltunski over 8 years ago

Vertex3D almost finished - there's still a problem when parts of Cubes get culled if the Object gets Deformed or Distorted to the left (curiously only the 'left' direction seems to trigger this!)

View differences:

src/main/java/org/distorted/library/DistortedCubesGrid.java
108 108
      
109 109
      int dataL = frontOnly ? frontVert : (frontVert+1) + (1+sideVert+1) + (1+frontVert);
110 110
      
111
      android.util.Log.e("CUBES","frontVert="+frontVert+" sideVert="+sideVert);
112
      android.util.Log.e("CUBES", "frontW="+frontWalls+" fSegments="+frontSegments+" sWalls="+sideWalls+" sSegments="+edges+" sideBends="+sideBends+" dataLen="+dataL );
111
      //android.util.Log.e("CUBES","frontVert="+frontVert+" sideVert="+sideVert);
112
      //android.util.Log.e("CUBES", "frontW="+frontWalls+" fSegments="+frontSegments+" sWalls="+sideWalls+" sSegments="+edges+" sideBends="+sideBends+" dataLen="+dataL );
113 113
      
114 114
      return dataL<0 ? 0:dataL;
115 115
      }

Also available in: Unified diff