psst
This commit is contained in:
@@ -70,7 +70,7 @@ namespace SplashEdit.RuntimeCode
|
||||
List<Vector3> centroids = Enumerable.Range(0, k).Select(i => colors[i * colors.Count / k]).ToList();
|
||||
|
||||
List<List<Vector3>> clusters;
|
||||
for (int i = 0; i < 10; i++) // Fixed iterations for performance.... i hate this...
|
||||
for (int i = 0; i < 10; i++) // Fixed iteration count
|
||||
{
|
||||
clusters = Enumerable.Range(0, k).Select(_ => new List<Vector3>()).ToList();
|
||||
foreach (Vector3 color in colors)
|
||||
|
||||
Reference in New Issue
Block a user