Project

General

Profile

« Previous | Next » 

Revision 0fb3f8b8

Added by Leszek Koltunski 9 months ago

Lint

View differences:

src/main/java/org/distorted/library/main/DistortedLibrary.java
163 163
  private static int mMainProgramH, mFullProgramH, mMainOITProgramH;
164 164

  
165 165
  /// OIT SSBO BUFFER ///
166
  private static int[] mLinkedListSSBO = new int[1];
166
  private static final int[] mLinkedListSSBO = new int[1];
167 167
  private static int[] mAtomicCounter;
168 168
  private static int   mCurrBuffer;
169 169

  
......
940 940
        }
941 941
      catch(Exception ex)
942 942
        {
943
        mUser.logMessage("DistortedLibrary: exception trying to pattern match version: "+ex.toString());
943
        mUser.logMessage("DistortedLibrary: exception trying to pattern match version: "+ ex);
944 944
        }
945 945
      }
946 946
    else if( mVendor.contains("Imagination") )
src/main/java/org/distorted/library/main/InternalNodeData.java
72 72
      {
73 73
      InternalStackFrameList.removeKeyFromMap(mKey);
74 74

  
75
      if( mFBO!=null ) return true;
75
        return mFBO != null;
76 76
      }
77 77

  
78 78
    return false;
src/main/java/org/distorted/library/mesh/MeshBase.java
958 958
       }
959 959
     catch(Exception e)
960 960
       {
961
       DistortedLibrary.logMessage("MeshBase: Exception1 trying to read file: "+e.toString());
961
       DistortedLibrary.logMessage("MeshBase: Exception1 trying to read file: "+ e);
962 962
       return 0;
963 963
       }
964 964

  
......
986 986
         }
987 987
       catch(Exception e)
988 988
         {
989
         DistortedLibrary.logMessage("MeshBase: Exception2 trying to read file: "+e.toString());
989
         DistortedLibrary.logMessage("MeshBase: Exception2 trying to read file: "+ e);
990 990
         return 0;
991 991
         }
992 992

  
......
1146 1146
       }
1147 1147
     catch(IOException ex)
1148 1148
       {
1149
       DistortedLibrary.logMessage("MeshBase: IOException trying to write a mesh: "+ex.toString());
1149
       DistortedLibrary.logMessage("MeshBase: IOException trying to write a mesh: "+ ex);
1150 1150
       }
1151 1151
     }
1152 1152

  
src/main/java/org/distorted/library/mesh/MeshMultigon.java
706 706
  public MeshMultigon(float[][][] vertices, float[] band, int exBands, int exVertices)
707 707
    {
708 708
    super();
709
/*
710
    if( debug )
711
      {
712
      printVertices(vertices);
713
      printBand(band);
714
      android.util.Log.e("D", "exBands="+exBands+" exVertices="+exVertices);
715
      android.util.Log.e("D", "-");
716
      }
717
*/
709

  
718 710
    int numTriangles=0;
719 711
    for(float[][] vertex : vertices) numTriangles+=vertex.length;
720 712
    MeshBandedTriangle[] triangles = new MeshBandedTriangle[numTriangles];
src/main/java/org/distorted/library/type/Dynamic1D.java
30 30

  
31 31
public class Dynamic1D extends Dynamic implements Data1D
32 32
  {
33
  private Vector<Static1D> vv;
33
  private final Vector<Static1D> vv;
34 34
  private Static1D prev, curr, next;
35 35

  
36 36
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/type/Dynamic2D.java
30 30

  
31 31
public class Dynamic2D extends Dynamic implements Data2D
32 32
  {
33
  private Vector<Static2D> vv;
33
  private final Vector<Static2D> vv;
34 34
  private Static2D prev, curr, next;
35 35

  
36 36
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/type/Dynamic4D.java
30 30

  
31 31
public class Dynamic4D extends Dynamic implements Data4D
32 32
  {
33
  private Vector<Static4D> vv;
33
  private final Vector<Static4D> vv;
34 34
  private Static4D prev, curr, next;
35 35

  
36 36
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/type/Dynamic5D.java
30 30

  
31 31
public class Dynamic5D extends Dynamic implements Data5D
32 32
  {
33
  private Vector<Static5D> vv;
33
  private final Vector<Static5D> vv;
34 34
  private Static5D prev, curr, next;
35 35

  
36 36
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff