From 1b1d04333c06b31e0f21bdfbacfca43d74d90ec1 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 7 Apr 2021 11:26:28 +0900 Subject: [PATCH] build: remove redundant patch script. these diff is applied to the rive-cpp runtime. we don't need to maintain it anymore. Change-Id: I6395b33bd9ad9a093bb24bab61de18b10a27cab5 --- script/install.sh | 1 - script/tizen_build.diff | 38 -------------------------------------- 2 files changed, 39 deletions(-) delete mode 100644 script/tizen_build.diff diff --git a/script/install.sh b/script/install.sh index cac46f7..bc2f605 100755 --- a/script/install.sh +++ b/script/install.sh @@ -2,5 +2,4 @@ cd "submodule" -patch -p0 < ../script/tizen_build.diff patch -p1 < ../script/rive_api_export.diff diff --git a/script/tizen_build.diff b/script/tizen_build.diff deleted file mode 100644 index baa71bb..0000000 --- a/script/tizen_build.diff +++ /dev/null @@ -1,38 +0,0 @@ -diff --git include/math/aabb.hpp include/math/aabb.hpp -index 6e5114e..1824756 100644 ---- include/math/aabb.hpp -+++ include/math/aabb.hpp -@@ -15,10 +15,6 @@ namespace rive - float buffer[4]; - struct - { -- Vec2D min, max; -- }; -- struct -- { - float minX, minY, maxX, maxY; - }; - }; -@@ -48,4 +44,4 @@ namespace rive - float perimeter() const; - }; - } // namespace rive --#endif -\ No newline at end of file -+#endif -diff --git src/math/aabb.cpp src/math/aabb.cpp -index 94de5d0..a7ea1db 100644 ---- src/math/aabb.cpp -+++ src/math/aabb.cpp -@@ -77,9 +77,9 @@ bool AABB::areIdentical(const AABB& a, const AABB& b) - return a[0] == b[0] && a[1] == b[1] && a[2] == b[2] && a[3] == b[3]; - } - --float AABB::width() const { return max[0] - min[0]; } -+float AABB::width() const { return buffer[2] - buffer[0]; } - --float AABB::height() const { return max[1] - min[1]; } -+float AABB::height() const { return buffer[3] - buffer[1]; } - - float AABB::perimeter() const - { -- 2.7.4