示例#1
0
    private void AddToResults(P3D_Triangle triangle, Vector3 weights, float distance01)
    {
        P3D_Result item = P3D_Result.Spawn();

        item.Triangle   = triangle;
        item.Weights    = weights;
        item.Distance01 = distance01;
        results.Add(item);
    }
示例#2
0
    // This adds a triangle result to the results list
    private void AddToResults(P3D_Triangle triangle, Vector3 weights, float distance01)
    {
        var result = P3D_Result.Spawn();

        result.Triangle   = triangle;
        result.Weights    = weights;
        result.Distance01 = distance01;

        results.Add(result);
    }