summarylogtreecommitdiffstats
path: root/bracket.patch
diff options
context:
space:
mode:
Diffstat (limited to 'bracket.patch')
-rw-r--r--bracket.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/bracket.patch b/bracket.patch
new file mode 100644
index 000000000000..ff614c0bf95f
--- /dev/null
+++ b/bracket.patch
@@ -0,0 +1,30 @@
+diff --git a/dart/math/detail/Icosphere-impl.hpp b/dart/math/detail/Icosphere-impl.hpp
+index 69a25a4..4954a55 100644
+--- a/dart/math/detail/Icosphere-impl.hpp
++++ b/dart/math/detail/Icosphere-impl.hpp
+@@ -75,7 +75,7 @@ Icosphere<S>::computeIcosahedron(S radius)
+ const S x = radius * unitX;
+ const S z = radius * unitZ;
+
+- std::vector<Vector3> vertices = {{{-x, 0, z},
++ std::vector<Vector3> vertices = {{-x, 0, z},
+ {x, 0, z},
+ {-x, 0, -z},
+ {x, 0, -z},
+@@ -86,13 +86,13 @@ Icosphere<S>::computeIcosahedron(S radius)
+ {z, x, 0},
+ {-z, x, 0},
+ {z, -x, 0},
+- {-z, -x, 0}}};
++ {-z, -x, 0}};
+
+ static std::vector<Triangle> triangles
+- = {{{0, 4, 1}, {0, 9, 4}, {9, 5, 4}, {4, 5, 8}, {4, 8, 1},
++ = {{0, 4, 1}, {0, 9, 4}, {9, 5, 4}, {4, 5, 8}, {4, 8, 1},
+ {8, 10, 1}, {8, 3, 10}, {5, 3, 8}, {5, 2, 3}, {2, 7, 3},
+ {7, 10, 3}, {7, 6, 10}, {7, 11, 6}, {11, 0, 6}, {0, 1, 6},
+- {6, 1, 10}, {9, 0, 11}, {9, 11, 2}, {9, 2, 5}, {7, 2, 11}}};
++ {6, 1, 10}, {9, 0, 11}, {9, 11, 2}, {9, 2, 5}, {7, 2, 11}};
+
+ return std::make_pair(vertices, triangles);
+ }