public void DoForeachCell(ForeachCellDeleg deleg)
 {
     foreach (MetaballCell cell in this._cells)
     {
         deleg(cell);
     }
 }
예제 #2
0
 public void DoForeachCell(ForeachCellDeleg deleg)
 {
     foreach (MetaballCell c in _cells)
     {
         deleg(c);
     }
 }
 public void DoForeachCell(ForeachCellDeleg deleg)
 {
     deleg((MetaballCell)this);
     foreach (SkinnedMetaballCell child in this.children)
     {
         child.DoForeachCell(deleg);
     }
 }
예제 #4
0
    public void DoForeachCell(ForeachCellDeleg deleg)
    {
        deleg(this);

        foreach (SkinnedMetaballCell c in children)
        {
            c.DoForeachCell(deleg);
        }
    }