Exemplo n.º 1
0
 protected void updateBoundingBox()
 {
     boundingBox = StructureBoundingBox.func_35672_a();
     StructureComponent structurecomponent;
     for (IEnumerator<StructureComponent> iterator = components.GetEnumerator(); iterator.MoveNext(); boundingBox.expandTo(structurecomponent.getStructureBoundingBox()))
     {
         structurecomponent = (StructureComponent)iterator.Current;
     }
 }
Exemplo n.º 2
0
        protected void updateBoundingBox()
        {
            boundingBox = StructureBoundingBox.func_35672_a();
            StructureComponent structurecomponent;

            for (IEnumerator <StructureComponent> iterator = components.GetEnumerator(); iterator.MoveNext(); boundingBox.expandTo(structurecomponent.getStructureBoundingBox()))
            {
                structurecomponent = (StructureComponent)iterator.Current;
            }
        }