fix radial triangle add order(#384)
parent
35b9985bf2
commit
86744455f1
|
@ -218,7 +218,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
|
|
||||||
helper.AddVert(centralVertex);
|
helper.AddVert(centralVertex);
|
||||||
|
|
||||||
for (int i = 1; i < steps; i++) helper.AddTriangle(i - 1, i, steps);
|
for (int i = 1; i < steps; i++) helper.AddTriangle(i, i-1, steps);
|
||||||
helper.AddTriangle(0, steps - 1, steps);
|
helper.AddTriangle(0, steps - 1, steps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue