diff --git a/LICENSE.md b/LICENSE.md index 457f03f..68be0b3 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,9 @@ -Licenses -====================== +# Licenses + CPML is Copyright (c) 2014 Colby Klein . +CPML is Copyright (c) 2014 Landon Manning . + Code in vec3.lua is derived from hump.vector. (c) 2010-2013 Matthias Richter. MIT. Portions of mat4.lua are from LuaMatrix, (c) 2010 Michael Lutz. MIT. @@ -10,8 +12,9 @@ Code in simplex.lua is (c) 2011 Stefan Gustavson. MIT. Code in quat.lua is from Andrew Stacey and covered under the CC0 license. -The MIT License (MIT) -====================== +Code in octree.lua is derived from UnityOctree. (c) 2014 Nition. BSD-2-Clause. + +# The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/modules/octree.lua b/modules/octree.lua index 82292f6..307ec7f 100644 --- a/modules/octree.lua +++ b/modules/octree.lua @@ -1,7 +1,37 @@ --- https://github.com/Nition/UnityOctree --- https://github.com/Nition/UnityOctree/blob/master/LICENCE --- https://github.com/Nition/UnityOctree/blob/master/Scripts/BoundsOctree.cs --- https://github.com/Nition/UnityOctree/blob/master/Scripts/BoundsOctreeNode.cs +--[[ +Copyright (c) 2014, Nition +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +https://github.com/Nition/UnityOctree +https://github.com/Nition/UnityOctree/blob/master/LICENCE +https://github.com/Nition/UnityOctree/blob/master/Scripts/BoundsOctree.cs +https://github.com/Nition/UnityOctree/blob/master/Scripts/BoundsOctreeNode.cs + +Translated to Lua by Landon Manning +https://github.com/karai17 +https://github.com/excessive/cpml +--]] --- Octree -- @module octree