Exemple #1
0
    static public Task Task(VoxelRemoveSameVertices rsv, VoxelProduct product)
    {
        Task task = new Task();

        TaskManager.PushFront(task, delegate {
            rsv.build(product);
        });
        return(task);
    }
Exemple #2
0
    Task subTask()
    {
        int  tick = 0;
        Task task = new Task();

        task.init = delegate {
            tick = ConvertDateTimeInt(DateTime.Now);
            VoxelRemoveSameVertices vmb = new VoxelRemoveSameVertices();
            vmb.build(product_);
        };
        task.shutdown = delegate {
            logIt("sub", ConvertDateTimeInt(DateTime.Now) - tick);
        };
        return(task);
    }
Exemple #3
0
 static public void Run(VoxelRemoveSameVertices rsv, VoxelProduct product)
 {
     rsv.build(product);
 }