Esempio n. 1
0
 public InteriorMB(Point3D pst) : base(pst)
 {
     delant = new Asiento[2];
     lp     = new LimpParab[2];
     lp[0]  = new LimpParab(new Point3D(pst.x + 1, pst.y + 0.5, pst.z + 0.25), 1);
     lp[1]  = new LimpParab(new Point3D(pst.x - 1, pst.y + 0.4, pst.z + 0.17), 1);
     for (int i = 0; i < 2; i++)
     {
         delant[i] = new Asiento(new Point3D(start.x - 1.5, start.y - 0.5, start.z + 0.3 - i * 2), 1.5, 1.5, 2.5, new float[] { 0.55f, 0.55f, 0.55f });
     }
     t         = new Timon(new Point3D(start.x + 1.7, start.y + 0.2, start.z - 1), 0.6, new float[] { 0.3f, 0.3f, 0.2f });
     respuesto = new Goma(new Point3D(start.x - 5, start.y - 0.5, start.z), 0.8);
     Recompile();
 }
 public InteriorMB(Point3D pst)
     : base(pst)
 {
     delant=new Asiento[2];
         lp=new LimpParab[2];
         lp[0]=new LimpParab(new Point3D(pst.x+1,pst.y+0.5,pst.z+0.25),1);
         lp[1]=new LimpParab(new Point3D(pst.x-1,pst.y+0.4,pst.z+0.17),1);
         for(int i=0;i<2;i++)
         {
             delant[i]=new Asiento(new Point3D(start.x-1.5,start.y-0.5,start.z+0.3-i*2),1.5,1.5,2.5,new float[]{0.55f,0.55f,0.55f});
         }
         t=new Timon(new Point3D(start.x+1.7,start.y+0.2,start.z-1),0.6,new float[]{0.3f,0.3f,0.2f});
         respuesto=new Goma(new Point3D(start.x-5,start.y-0.5,start.z),0.8);
         Recompile();
 }