]> rtime.felk.cvut.cz Git - hubacji1/rrts.git/commitdiff
Update license info in cute header file
authorJiri Vlasak <jiri.vlasak.2@cvut.cz>
Thu, 30 Sep 2021 11:25:02 +0000 (13:25 +0200)
committerJiri Vlasak <jiri.vlasak.2@cvut.cz>
Thu, 30 Sep 2021 11:26:04 +0000 (13:26 +0200)
LICENSES/Unlicense.txt [new file with mode: 0644]
LICENSES/Zlib.txt [new file with mode: 0644]
incl/cute_c2.h

diff --git a/LICENSES/Unlicense.txt b/LICENSES/Unlicense.txt
new file mode 100644 (file)
index 0000000..cde4ac6
--- /dev/null
@@ -0,0 +1,10 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
+
+In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
+
+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 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.
+
+For more information, please refer to <http://unlicense.org/>
diff --git a/LICENSES/Zlib.txt b/LICENSES/Zlib.txt
new file mode 100644 (file)
index 0000000..e0e3605
--- /dev/null
@@ -0,0 +1,11 @@
+zlib License
+
+This software is provided 'as-is', without any express or implied warranty.  In no event will the authors be held liable for any damages arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
+
+     1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
+
+     2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
+
+     3. This notice may not be removed or altered from any source distribution.
index 8936400a4fe466c01612ca59e99e52490369184c..7faa8fda0cebe0d0f49c72a89da46963811aaba8 100644 (file)
@@ -1,3 +1,9 @@
+// Copyright (c) 2017 Randy Gaul http://www.randygaul.net
+// SPDX-FileCopyrightText: 2017 Randy Gaul http://www.randygaul.net
+// SPDX-FileCopyrightText: 2021 Randy Gaul http://www.randygaul.net
+//
+// SPDX-License-Identifier: Unlicense
+// SPDX-License-Identifier: Zlib
 /*
        ------------------------------------------------------------------------------
                Licensing information can be found at the end of the file.
@@ -1931,43 +1937,3 @@ void c2PolytoPolyManifold(const c2Poly* A, const c2x* ax_ptr, const c2Poly* B, c
 
 #endif // CUTE_C2_IMPLEMENTATION_ONCE
 #endif // CUTE_C2_IMPLEMENTATION
-
-/*
-       ------------------------------------------------------------------------------
-       This software is available under 2 licenses - you may choose the one you like.
-       ------------------------------------------------------------------------------
-       ALTERNATIVE A - zlib license
-       Copyright (c) 2017 Randy Gaul http://www.randygaul.net
-       This software is provided 'as-is', without any express or implied warranty.
-       In no event will the authors be held liable for any damages arising from
-       the use of this software.
-       Permission is granted to anyone to use this software for any purpose,
-       including commercial applications, and to alter it and redistribute it
-       freely, subject to the following restrictions:
-         1. The origin of this software must not be misrepresented; you must not
-            claim that you wrote the original software. If you use this software
-            in a product, an acknowledgment in the product documentation would be
-            appreciated but is not required.
-         2. Altered source versions must be plainly marked as such, and must not
-            be misrepresented as being the original software.
-         3. This notice may not be removed or altered from any source distribution.
-       ------------------------------------------------------------------------------
-       ALTERNATIVE B - Public Domain (www.unlicense.org)
-       This is free and unencumbered software released into the public domain.
-       Anyone is free to copy, modify, publish, use, compile, sell, or distribute this 
-       software, either in source code form or as a compiled binary, for any purpose, 
-       commercial or non-commercial, and by any means.
-       In jurisdictions that recognize copyright laws, the author or authors of this 
-       software dedicate any and all copyright interest in the software to the public 
-       domain. We make this dedication for the benefit of the public at large and to 
-       the detriment of our heirs and successors. We intend this dedication to be an 
-       overt act of relinquishment in perpetuity of all present and future rights to 
-       this software under copyright law.
-       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 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.
-       ------------------------------------------------------------------------------
-*/