Project

General

Profile

« Previous | Next » 

Revision 9567a9ae

Added by Leszek Koltunski 10 months ago

improvements from the 'texture coordinate' investigation.

View differences:

src/main/java/org/distorted/objectlib/helpers/ObjectSticker.java
66 66
    for(int l=0; l<numLoops; l++)
67 67
      {
68 68
      float[][] coords = mCoords[l];
69
      float[] curva = mCurvature[l];
69
      float[] curva = mCurvature==null ? null : mCurvature[l];
70 70
      float[] radii = mRadii[l];
71 71

  
72 72
      dbg+="coords: ";
73
      int len=mCoords.length;
73
      int len=mCoords[l].length;
74 74
      for(int i=0; i<len; i++) dbg+=(" "+coords[i][0]+" "+coords[i][1]);
75 75

  
76 76
      dbg+="\ncurvature: ";

Also available in: Unified diff