David Catuhe пре 9 година
родитељ
комит
84d4038665
1 измењених фајлова са 14 додато и 1 уклоњено
  1. 14 1
      src/Tools/babylon.earcut.ts

+ 14 - 1
src/Tools/babylon.earcut.ts

@@ -1,6 +1,19 @@
 // All the credit goes to this project and the guy who's behind it https://github.com/mapbox/earcut
 // Huge respect for a such great lib. 
-// We just make it TypeScript compiling compliant and typed the public function.
+// Earcut license:
+// Copyright (c) 2016, Mapbox
+// 
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+// OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+// TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+// THIS SOFTWARE.
 module Earcut {
     /**
      * The fastest and smallest JavaScript polygon triangulation library for your WebGL apps