From 999ca85e4e4892c599a9f706dec94bf64f10eb9b Mon Sep 17 00:00:00 2001 From: fgnm Date: Mon, 21 Sep 2020 01:06:36 +0200 Subject: [PATCH] Replace ShapeRenderer with ShapeDrawer for graph connections --- assets/licenses.html | 29 +++- build.gradle | 3 + .../games/rednblack/editor/HyperLap2D.java | 3 + .../editor/graph/GraphContainer.java | 125 ++++++++++-------- .../rednblack/editor/graph/ui/WhitePixel.java | 13 +- .../rednblack/editor/utils/Vector2Pool.java | 16 +++ .../editor/utils/poly/PolygonUtils.java | 51 +++++++ .../editor/view/ui/dialog/AboutDialog.java | 1 + 8 files changed, 178 insertions(+), 63 deletions(-) create mode 100644 src/main/java/games/rednblack/editor/utils/Vector2Pool.java diff --git a/assets/licenses.html b/assets/licenses.html index 58443ed4..e9f404da 100644 --- a/assets/licenses.html +++ b/assets/licenses.html @@ -2153,7 +2153,7 @@

- +

MIT License @@ -2180,6 +2180,33 @@

+ +
+

+ MIT License + + Copyright (c) 2019 earlygrey + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +

+
+