@esotericsoftware/spine-webgl 4.0.15 → 4.0.19

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 (40) hide show
  1. package/dist/AssetManager.d.ts +33 -33
  2. package/dist/AssetManager.js +37 -37
  3. package/dist/Camera.d.ts +49 -49
  4. package/dist/Camera.js +80 -80
  5. package/dist/CameraController.d.ts +34 -34
  6. package/dist/CameraController.js +95 -95
  7. package/dist/GLTexture.d.ts +46 -46
  8. package/dist/GLTexture.js +102 -102
  9. package/dist/Input.d.ts +57 -56
  10. package/dist/Input.js +212 -211
  11. package/dist/LoadingScreen.d.ts +44 -43
  12. package/dist/LoadingScreen.js +119 -115
  13. package/dist/Matrix4.d.ts +68 -68
  14. package/dist/Matrix4.js +321 -321
  15. package/dist/Mesh.d.ts +88 -88
  16. package/dist/Mesh.js +193 -193
  17. package/dist/PolygonBatcher.d.ts +53 -53
  18. package/dist/PolygonBatcher.js +120 -120
  19. package/dist/SceneRenderer.d.ts +73 -73
  20. package/dist/SceneRenderer.js +477 -477
  21. package/dist/Shader.d.ts +75 -75
  22. package/dist/Shader.js +262 -262
  23. package/dist/ShapeRenderer.d.ts +69 -69
  24. package/dist/ShapeRenderer.js +338 -338
  25. package/dist/SkeletonDebugRenderer.d.ts +60 -60
  26. package/dist/SkeletonDebugRenderer.js +222 -222
  27. package/dist/SkeletonRenderer.d.ts +49 -49
  28. package/dist/SkeletonRenderer.js +295 -295
  29. package/dist/SpineCanvas.d.ts +73 -73
  30. package/dist/SpineCanvas.js +82 -82
  31. package/dist/Vector3.d.ts +47 -47
  32. package/dist/Vector3.js +103 -103
  33. package/dist/WebGL.d.ts +44 -44
  34. package/dist/WebGL.js +96 -96
  35. package/dist/iife/spine-webgl.js +182 -16
  36. package/dist/iife/spine-webgl.js.map +2 -2
  37. package/dist/iife/spine-webgl.min.js +26 -26
  38. package/dist/index.d.ts +18 -18
  39. package/dist/index.js +18 -18
  40. package/package.json +34 -34
@@ -1,49 +1,49 @@
1
- /******************************************************************************
2
- * Spine Runtimes License Agreement
3
- * Last updated January 1, 2020. Replaces all prior versions.
4
- *
5
- * Copyright (c) 2013-2020, Esoteric Software LLC
6
- *
7
- * Integration of the Spine Runtimes into software or otherwise creating
8
- * derivative works of the Spine Runtimes is permitted under the terms and
9
- * conditions of Section 2 of the Spine Editor License Agreement:
10
- * http://esotericsoftware.com/spine-editor-license
11
- *
12
- * Otherwise, it is permitted to integrate the Spine Runtimes into software
13
- * or otherwise create derivative works of the Spine Runtimes (collectively,
14
- * "Products"), provided that each user of the Products must obtain their own
15
- * Spine Editor license and redistribution of the Products in any form must
16
- * include this license and copyright notice.
17
- *
18
- * THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
19
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- * DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
22
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
24
- * BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
25
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
- * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
- *****************************************************************************/
29
- import { VertexEffect, Skeleton } from "@esotericsoftware/spine-core";
30
- import { PolygonBatcher } from "./PolygonBatcher";
31
- import { ManagedWebGLRenderingContext } from "./WebGL";
32
- export declare class SkeletonRenderer {
33
- static QUAD_TRIANGLES: number[];
34
- premultipliedAlpha: boolean;
35
- vertexEffect: VertexEffect;
36
- private tempColor;
37
- private tempColor2;
38
- private vertices;
39
- private vertexSize;
40
- private twoColorTint;
41
- private renderable;
42
- private clipper;
43
- private temp;
44
- private temp2;
45
- private temp3;
46
- private temp4;
47
- constructor(context: ManagedWebGLRenderingContext, twoColorTint?: boolean);
48
- draw(batcher: PolygonBatcher, skeleton: Skeleton, slotRangeStart?: number, slotRangeEnd?: number): void;
49
- }
1
+ /******************************************************************************
2
+ * Spine Runtimes License Agreement
3
+ * Last updated January 1, 2020. Replaces all prior versions.
4
+ *
5
+ * Copyright (c) 2013-2020, Esoteric Software LLC
6
+ *
7
+ * Integration of the Spine Runtimes into software or otherwise creating
8
+ * derivative works of the Spine Runtimes is permitted under the terms and
9
+ * conditions of Section 2 of the Spine Editor License Agreement:
10
+ * http://esotericsoftware.com/spine-editor-license
11
+ *
12
+ * Otherwise, it is permitted to integrate the Spine Runtimes into software
13
+ * or otherwise create derivative works of the Spine Runtimes (collectively,
14
+ * "Products"), provided that each user of the Products must obtain their own
15
+ * Spine Editor license and redistribution of the Products in any form must
16
+ * include this license and copyright notice.
17
+ *
18
+ * THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
19
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
24
+ * BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
+ * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ *****************************************************************************/
29
+ import { VertexEffect, Skeleton } from "@esotericsoftware/spine-core";
30
+ import { PolygonBatcher } from "./PolygonBatcher";
31
+ import { ManagedWebGLRenderingContext } from "./WebGL";
32
+ export declare class SkeletonRenderer {
33
+ static QUAD_TRIANGLES: number[];
34
+ premultipliedAlpha: boolean;
35
+ vertexEffect: VertexEffect;
36
+ private tempColor;
37
+ private tempColor2;
38
+ private vertices;
39
+ private vertexSize;
40
+ private twoColorTint;
41
+ private renderable;
42
+ private clipper;
43
+ private temp;
44
+ private temp2;
45
+ private temp3;
46
+ private temp4;
47
+ constructor(context: ManagedWebGLRenderingContext, twoColorTint?: boolean);
48
+ draw(batcher: PolygonBatcher, skeleton: Skeleton, slotRangeStart?: number, slotRangeEnd?: number): void;
49
+ }