«
Previous
|
Next
»
Revision 76e5897b
Added by Leszek Koltunski 1 day ago
- ID 76e5897b3b6c123bc7707095bf68f8ce397b6346
- Parent a99bba67
src/main/java/org/distorted/library/mesh/MeshBandedTriangle.java | ||
---|---|---|
179 | 179 |
{ |
180 | 180 |
remainingVert--; |
181 | 181 |
|
182 |
// android.util.Log.e("D", "new v: qx="+qx+" band="+band); |
|
183 |
|
|
184 | 182 |
float bx = mLeftX + qx*(mRightX-mLeftX); |
185 | 183 |
float by = mLeftY + qx*(mRightY-mLeftY); |
186 | 184 |
|
src/main/java/org/distorted/library/mesh/MeshMultigon.java | ||
---|---|---|
325 | 325 |
if( isSame(vs[0]-xs,vs[1]-ys) ) break; |
326 | 326 |
} |
327 | 327 |
|
328 |
if( vCurr==len ) android.util.Log.e("D", "ERROR in produceNormalVector!!");
|
|
328 |
if( vCurr==len ) System.out.println("MeshMultigon: ERROR in produceNormalVector!!");
|
|
329 | 329 |
|
330 | 330 |
int vPrev = vCurr==0 ? len-1 : vCurr-1; |
331 | 331 |
int vNext = vCurr>=len-1 ? 0 : vCurr+1; |
... | ... | |
674 | 674 |
sb.append(" }\n"); |
675 | 675 |
} |
676 | 676 |
|
677 |
android.util.Log.e("D", "vertices: \n"+sb);
|
|
677 |
System.out.println("vertices: \n"+sb);
|
|
678 | 678 |
} |
679 | 679 |
|
680 | 680 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
689 | 689 |
sb.append("f, "); |
690 | 690 |
} |
691 | 691 |
|
692 |
android.util.Log.e("D", "band: \n"+sb);
|
|
692 |
System.out.println("band: \n"+sb);
|
|
693 | 693 |
} |
694 | 694 |
|
695 | 695 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
replace all andoird logging with System.out.println