Package unlekker.util

Examples of unlekker.util.UProgressInfo.update()


    ArrayList<UFace> fl=new ArrayList<UFace>();
 
   
    for(int i=0; i<input.faceNum; i++) {
      prog.update(null, 100f*(float)i/(float)input.faceNum);
      UFace ff[]=subdivideFace(input.face[i]);
      for(int j=0; j<ff.length; j++) fl.add(ff[j]);
      UUtil.log(""+prog.elapsed);
    }
   
View Full Code Here


    }
   
    prog.start();
    float cnt=0,maxCnt=fl.size();
    for(UFace f:fl) {
      prog.update(null, 100f*cnt/maxCnt);
      if(prog.elapsed>2000 && (int)cnt%10==0) UUtil.log(prog.lastUpdate+" "+g.faceNum+" faces built.");
      g.add(f);
      cnt++;
    }
   
View Full Code Here

    ArrayList<UFace> fl=new ArrayList<UFace>();
 
   
    for(int i=0; i<input.faceNum; i++) {
      prog.update(null, 100f*(float)i/(float)input.faceNum);
      UFace ff[]=subdivideFace(input.face[i]);
      for(int j=0; j<ff.length; j++) fl.add(ff[j]);
      UUtil.log(""+prog.elapsed);
    }
   
View Full Code Here

    }
   
    prog.start();
    float cnt=0,maxCnt=fl.size();
    for(UFace f:fl) {
      prog.update(null, 100f*cnt/maxCnt);
      if(prog.elapsed>2000 && (int)cnt%10==0) UUtil.log(prog.lastUpdate+" "+g.faceNum+" faces built.");
      g.add(f);
      cnt++;
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.