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); }
// 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); }