Package wolf.util

Examples of wolf.util.OBJ.save()


          for(int j=0; j<cb.lots.size(); j++){
            cb.lots.get(j).asOBJ(obj);
          }
        }
       
        obj.save("data/city.obj");
      }else{
        OBJ obj = new OBJ(false);
        for(int i=0; i<fb.buildings.size(); i++){
          fb.buildings.get(i).asOBJ(obj);
        }
View Full Code Here


        OBJ obj = new OBJ(false);
        for(int i=0; i<fb.buildings.size(); i++){
          fb.buildings.get(i).asOBJ(obj);
        }

        obj.save("data/city.obj");

        OBJ objRoads = new OBJ(false);
        rm.asOBJ(objRoads);

        objRoads.save("data/roads.obj");
View Full Code Here

        obj.save("data/city.obj");

        OBJ objRoads = new OBJ(false);
        rm.asOBJ(objRoads);

        objRoads.save("data/roads.obj");

        OBJ objLots = new OBJ(false);
        for(int i=0; i<bm.blocks.size(); i++){
          CityBlock cb = bm.blocks.get(i);
          for(int j=0; j<cb.lots.size(); j++){
View Full Code Here

          for(int j=0; j<cb.lots.size(); j++){
            cb.lots.get(j).asOBJ(objLots);
          }
        }

        objLots.save("data/lots.obj");
       
        OBJ objTerrain = new OBJ(false);
        ter.asOBJ(objTerrain);

        objTerrain.save("data/ter.obj");
View Full Code Here

        objLots.save("data/lots.obj");
       
        OBJ objTerrain = new OBJ(false);
        ter.asOBJ(objTerrain);

        objTerrain.save("data/ter.obj");
      }
    }
    log.save("/log-"+System.currentTimeMillis()+".log");
  }
}
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.