Commit 1284f829 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added {} around initializer list.

parent 454710d6
......@@ -56,9 +56,9 @@ init(void)
// 20 triangles
static const TriangleList triangles
= { { 0, 1, 2 }, { 0, 2, 3 }, { 0, 3, 4 }, { 0, 4, 5 }, { 0, 5, 1 }, { 6, 2, 1 }, { 7, 3, 2 },
{ 8, 4, 3 }, { 9, 5, 4 }, { 10, 1, 5 }, { 2, 6, 7 }, { 3, 7, 8 }, { 4, 8, 9 }, { 5, 9, 10 },
{ 1, 10, 6 }, { 11, 7, 6 }, { 11, 8, 7 }, { 11, 9, 8 }, { 11, 10, 9 }, { 11, 6, 10 } };
= { {{ 0, 1, 2 }}, {{ 0, 2, 3 }}, {{ 0, 3, 4 }}, {{ 0, 4, 5 }}, {{ 0, 5, 1 }}, {{ 6, 2, 1 }}, {{ 7, 3, 2 }},
{{ 8, 4, 3 }}, {{ 9, 5, 4 }}, {{ 10, 1, 5 }}, {{ 2, 6, 7 }}, {{ 3, 7, 8 }}, {{ 4, 8, 9 }}, {{ 5, 9, 10 }},
{{ 1, 10, 6 }}, {{ 11, 7, 6 }}, {{ 11, 8, 7 }}, {{ 11, 9, 8 }}, {{ 11, 10, 9 }}, {{ 11, 6, 10 }} };
} // namespace icosahedron
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment