From 64c98a607c9e2ddd98265c7ea9d7493cca33c7b6 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 31 Dec 2022 21:27:55 +0100 Subject: [PATCH] Added COPYRIGHT.txt for the mesh utils module. --- modules/mesh_utils/COPYRIGHT.txt | 55 ++++++++++++++++++++++++++++++ modules/mesh_utils/config.py | 2 ++ modules/mesh_utils/simplify.h | 7 +++- modules/mesh_utils/xatlas/xatlas.h | 1 + 4 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 modules/mesh_utils/COPYRIGHT.txt diff --git a/modules/mesh_utils/COPYRIGHT.txt b/modules/mesh_utils/COPYRIGHT.txt new file mode 100644 index 000000000..98ba5cd49 --- /dev/null +++ b/modules/mesh_utils/COPYRIGHT.txt @@ -0,0 +1,55 @@ +# Exhaustive licensing information for files in the Godot Engine repository +# ========================================================================= +# +# This file aims at documenting the copyright and license for every source +# file in the Godot Engine repository, and especially outline the files +# whose license differs from the MIT/Expat license used by Godot Engine. +# +# It is written as a machine-readable format following the debian/copyright +# specification. Globbing patterns (e.g. "Files: *") mean that they affect +# all corresponding files (also recursively in subfolders), apart from those +# with a more explicit copyright statement. +# +# Licenses are given with their debian/copyright short name (or SPDX identifier +# if no standard short name exists) and are all included in plain text at the +# end of this file (in alphabetical order). +# +# Disclaimer for thirdparty libraries: +# ------------------------------------ +# +# Licensing details for thirdparty libraries in the 'thirdparty/' directory +# are given in summarized form, i.e. with only the "main" license described +# in the library's license statement. Different licenses of single files or +# code snippets in thirdparty libraries are not documented here. +# For example: +# Files: ./thirdparty/zlib/ +# Copyright: 1995-2017, Jean-loup Gailly and Mark Adler +# License: Zlib +# The exact copyright for each file in that library *may* differ, and some +# files or code snippets might be distributed under other compatible licenses +# (e.g. a public domain dedication), but as far as Godot Engine is concerned +# the library is considered as a whole under the Zlib license. +# +# Nota: When linking dynamically against thirdparty libraries instead of +# building them into the Godot binary, you may remove the corresponding +# license details from this file. + +----------------------------------------------------------------------- + +Files: modules/mesh_utils/* +Comment: MeshUtils Module +Copyright: 2029-2023 Péter Magyar. +License: Expat + +Files: modules/mesh_utils/xatlas/* +Comment: Modified Xatlas Library (MeshUtils Module) +Copyright: 2018-2020 Jonathan Young. + 2021 Péter Magyar. +License: Expat + +Files: modules/mesh_utils/simplify.h +Comment: Fast Quadric Mesh Simplification Algorithm (MeshUtils Module) +Copyright: 2014 Sven Forstmann. + 2017-2018 Mattias Edlund. + 2020 Péter Magyar. +License: Expat diff --git a/modules/mesh_utils/config.py b/modules/mesh_utils/config.py index b51cd40c4..5849b3741 100644 --- a/modules/mesh_utils/config.py +++ b/modules/mesh_utils/config.py @@ -17,3 +17,5 @@ def get_doc_classes(): def get_doc_path(): return "doc_classes" +def get_license_file(): + return "COPYRIGHT.txt" diff --git a/modules/mesh_utils/simplify.h b/modules/mesh_utils/simplify.h index 07350d98d..a059230a2 100644 --- a/modules/mesh_utils/simplify.h +++ b/modules/mesh_utils/simplify.h @@ -10,10 +10,15 @@ // License : MIT // http://opensource.org/licenses/MIT // -//https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification +// https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification // // 5/2016: Chris Rorden created minimal version for OSX/Linux/Windows compile +// Contains some improvements from https://github.com/Whinarn/MeshDecimator +// Copyright (c) 2017-2018 Mattias Edlund + +// (C) by Péter Magyar in 2020 + #include "core/variant/array.h" #include "core/string/ustring.h" diff --git a/modules/mesh_utils/xatlas/xatlas.h b/modules/mesh_utils/xatlas/xatlas.h index 4b8bc4944..add3d5272 100644 --- a/modules/mesh_utils/xatlas/xatlas.h +++ b/modules/mesh_utils/xatlas/xatlas.h @@ -4,6 +4,7 @@ MIT License Copyright (c) 2018-2020 Jonathan Young +Copyright (c) 2021 Péter Magyar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal