From 2a55f10e8be2d3a9ffcbb57ab6dd278419c64b37 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Sun, 20 Mar 2022 14:53:45 +0100 Subject: Add FastNoiseLite / general noise overhaul - replace OpenSimplexNoise Co-authored-by: Cory Petkovsek --- thirdparty/noise/patches/FastNoiseLite.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 thirdparty/noise/patches/FastNoiseLite.patch (limited to 'thirdparty/noise/patches') diff --git a/thirdparty/noise/patches/FastNoiseLite.patch b/thirdparty/noise/patches/FastNoiseLite.patch new file mode 100644 index 0000000000..acb1edfd73 --- /dev/null +++ b/thirdparty/noise/patches/FastNoiseLite.patch @@ -0,0 +1,18 @@ +--- orig/FastNoiseLite.h 1900-01-00 00:00:00 +0000 ++++ noise/FastNoiseLite.h 1900-01-00 00:00:00 +0000 +@@ -52,6 +52,8 @@ + + #include + ++namespace fastnoiselite{ ++ + class FastNoiseLite + { + public: +@@ -2583,4 +2585,5 @@ + -0.7870349638f, 0.03447489231f, 0.6159443543f, 0, -0.2015596421f, 0.6859872284f, 0.6991389226f, 0, -0.08581082512f, -0.10920836f, -0.9903080513f, 0, 0.5532693395f, 0.7325250401f, -0.396610771f, 0, -0.1842489331f, -0.9777375055f, -0.1004076743f, 0, 0.0775473789f, -0.9111505856f, 0.4047110257f, 0, 0.1399838409f, 0.7601631212f, -0.6344734459f, 0, 0.4484419361f, -0.845289248f, 0.2904925424f, 0 + }; + +-#endif ++} ++#endif // namespace fastnoiselite -- cgit v1.2.3