Package wolf.city.buildings

Examples of wolf.city.buildings.Floor


    this.b = b;
    offset = b.lotShape.getCentroid().getCoordinate();
    float height = 0;
    for(int i=0; i<b.sections.size(); i++){
      for(int f=0; f<b.sections.get(i).floors.size(); f++){
        Floor floor = b.sections.get(i).floors.get(f);
        height += floor.height;
      }
    }
    offset.z = height/2;
    try{
View Full Code Here


          //GL11.glVertex3d(c1.x-offset.x,c1.y-offset.y,c1.z-offset.z);
        }
        GL11.glEnd();
        GL11.glBegin(GL11.GL_QUADS);
        for(int f=0; f<b.sections.get(i).floors.size(); f++){
          Floor floor = b.sections.get(i).floors.get(f);
          height += floor.height;
          for(int j=0; j < floor.exterior.size(); j++){
            WallContainer wc = floor.exterior.get(j);
            //Coordinate p0 = wc.p0;
            Coordinate p1 = wc.p1;
View Full Code Here

TOP

Related Classes of wolf.city.buildings.Floor

Copyright © 2018 www.massapicom. 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.