@xort/cga 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/THIRD_PARTY_NOTICES.md +26 -39
  2. package/build/@xort_cga.js +10096 -9226
  3. package/build/cga.d.ts +1286 -465
  4. package/build/cga.esm.js +10062 -9228
  5. package/build/shaders/cga.glsl +204 -0
  6. package/build/shaders/common.glsl +36 -0
  7. package/build/shaders/noise/GLSL-Noise.md +1108 -0
  8. package/build/shaders/noise/LICENSE +20 -0
  9. package/build/shaders/noise/cellular2D.glsl +69 -0
  10. package/build/shaders/noise/cellular2x2.glsl +64 -0
  11. package/build/shaders/noise/cellular2x2x2.glsl +88 -0
  12. package/build/shaders/noise/cellular3D.glsl +187 -0
  13. package/build/shaders/noise/classicnoise2D.glsl +113 -0
  14. package/build/shaders/noise/classicnoise3D.glsl +177 -0
  15. package/build/shaders/noise/classicnoise4D.glsl +302 -0
  16. package/build/shaders/noise/noise2D.glsl +71 -0
  17. package/build/shaders/noise/noise3D.glsl +103 -0
  18. package/build/shaders/noise/noise3Dgrad.glsl +111 -0
  19. package/build/shaders/noise/noise4D.glsl +129 -0
  20. package/build/shaders/noise/psrdnoise2D.glsl +463 -0
  21. package/dist/THIRD_PARTY_NOTICES.md +26 -39
  22. package/dist/index.cjs +10096 -9226
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +1286 -465
  25. package/dist/index.d.ts +1286 -465
  26. package/dist/index.js +10062 -9228
  27. package/dist/index.js.map +1 -1
  28. package/dist/shaders.cjs +21 -0
  29. package/dist/shaders.d.cts +20 -0
  30. package/dist/shaders.d.ts +20 -0
  31. package/dist/shaders.js +20 -0
  32. package/dist/three.cjs +3035 -0
  33. package/dist/three.cjs.map +1 -0
  34. package/dist/three.d.cts +311 -0
  35. package/dist/three.d.ts +311 -0
  36. package/dist/three.js +3008 -0
  37. package/dist/three.js.map +1 -0
  38. package/package.json +123 -83
  39. package/readme.md +74 -119
@@ -1,47 +1,34 @@
1
1
  # Third-party notices
2
2
 
3
- The bundled Clipper implementation is copyright Angus Johnson (2010–2017) and the JavaScript translation is by Timo. Source headers in src/clipper/clipper.js retain the original attributions.
4
-
5
- Boost Software License - Version 1.0 - August 17th, 2003
6
-
7
- Permission is hereby granted, free of charge, to any person or organization
8
- obtaining a copy of the software and accompanying documentation covered by
9
- this license (the "Software") to use, reproduce, display, distribute,
10
- execute, and transmit the Software, and to prepare derivative works of the
11
- Software, and to permit third-parties to whom the Software is furnished to
12
- do so, all subject to the following:
13
-
14
- The copyright notices in the Software and this entire statement, including
15
- the above license grant, this restriction and the following disclaimer,
16
- must be included in all copies of the Software, in whole or in part, and
17
- all derivative works of the Software, unless such copies or derivative
18
- works are solely in the form of machine-executable object code generated by
19
- a source language processor.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
24
- SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
25
- FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
26
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27
- DEALINGS IN THE SOFTWARE.
3
+ The project-owned TypeScript polygon and triangulation kernels in 0.1.2 do not bundle Earcut or the retired Clipper implementation. Earlier releases retained their respective notices in Git history.
28
4
 
29
- Earcut (bundled in the browser builds) uses the ISC license:
5
+ decimal.js uses the MIT license; its npm distribution retains its license file.
30
6
 
31
- ISC License
7
+ GeographicLib geodesic (bundled in browser builds):
32
8
 
33
- Copyright (c) 2016, Mapbox
9
+ The MIT License (MIT).
34
10
 
35
- Permission to use, copy, modify, and/or distribute this software for any purpose
36
- with or without fee is hereby granted, provided that the above copyright notice
37
- and this permission notice appear in all copies.
11
+ Copyright (c) 2011-2022, Charles Karney
38
12
 
39
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
41
- FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
43
- OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
44
- TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
45
- THIS SOFTWARE.
13
+ Permission is hereby granted, free of charge, to any person
14
+ obtaining a copy of this software and associated documentation
15
+ files (the "Software"), to deal in the Software without
16
+ restriction, including without limitation the rights to use, copy,
17
+ modify, merge, publish, distribute, sublicense, and/or sell copies
18
+ of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
46
20
 
47
- decimal.js uses the MIT license; its npm distribution retains its license file.
21
+ The above copyright notice and this permission notice shall be
22
+ included in all copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
28
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
29
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
31
+ DEALINGS IN THE SOFTWARE.
32
+
33
+ GLSL noise chunks retain Ashima Arts and Stefan Gustavson copyright notices.
34
+ Their MIT license is included at build/shaders/noise/LICENSE in the npm package.