mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 10:16:01 +08:00
[ts] Updated to version 4.0.13
This commit is contained in:
parent
02e334942b
commit
168bea6fdb
40
spine-ts/package-lock.json
generated
40
spine-ts/package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-ts",
|
"name": "@esotericsoftware/spine-ts",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@esotericsoftware/spine-ts",
|
"name": "@esotericsoftware/spine-ts",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"spine-core",
|
"spine-core",
|
||||||
@ -15,10 +15,8 @@
|
|||||||
"spine-threejs",
|
"spine-threejs",
|
||||||
"spine-webgl"
|
"spine-webgl"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
|
||||||
"@types/offscreencanvas": "^2019.6.4"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@types/offscreencanvas": "^2019.6.4",
|
||||||
"concurrently": "^6.2.1",
|
"concurrently": "^6.2.1",
|
||||||
"copyfiles": "^2.4.1",
|
"copyfiles": "^2.4.1",
|
||||||
"esbuild": "^0.12.22",
|
"esbuild": "^0.12.22",
|
||||||
@ -154,7 +152,8 @@
|
|||||||
"node_modules/@types/offscreencanvas": {
|
"node_modules/@types/offscreencanvas": {
|
||||||
"version": "2019.6.4",
|
"version": "2019.6.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz",
|
||||||
"integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q=="
|
"integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@types/three": {
|
"node_modules/@types/three": {
|
||||||
"version": "0.131.1",
|
"version": "0.131.1",
|
||||||
@ -8256,41 +8255,41 @@
|
|||||||
},
|
},
|
||||||
"spine-canvas": {
|
"spine-canvas": {
|
||||||
"name": "@esotericsoftware/spine-canvas",
|
"name": "@esotericsoftware/spine-canvas",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12"
|
"@esotericsoftware/spine-core": "^4.0.13"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-core": {
|
"spine-core": {
|
||||||
"name": "@esotericsoftware/spine-core",
|
"name": "@esotericsoftware/spine-core",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"license": "LicenseRef-LICENSE"
|
"license": "LicenseRef-LICENSE"
|
||||||
},
|
},
|
||||||
"spine-player": {
|
"spine-player": {
|
||||||
"name": "@esotericsoftware/spine-player",
|
"name": "@esotericsoftware/spine-player",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-webgl": "^4.0.12"
|
"@esotericsoftware/spine-webgl": "^4.0.13"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-threejs": {
|
"spine-threejs": {
|
||||||
"name": "@esotericsoftware/spine-threejs",
|
"name": "@esotericsoftware/spine-threejs",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12",
|
"@esotericsoftware/spine-core": "^4.0.13",
|
||||||
"@types/three": "^0.131.0",
|
"@types/three": "^0.131.0",
|
||||||
"three": "^0.132.0"
|
"three": "^0.132.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-webgl": {
|
"spine-webgl": {
|
||||||
"name": "@esotericsoftware/spine-webgl",
|
"name": "@esotericsoftware/spine-webgl",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12"
|
"@esotericsoftware/spine-core": "^4.0.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -8376,7 +8375,7 @@
|
|||||||
"@esotericsoftware/spine-canvas": {
|
"@esotericsoftware/spine-canvas": {
|
||||||
"version": "file:spine-canvas",
|
"version": "file:spine-canvas",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12"
|
"@esotericsoftware/spine-core": "^4.0.13"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@esotericsoftware/spine-core": {
|
"@esotericsoftware/spine-core": {
|
||||||
@ -8385,13 +8384,13 @@
|
|||||||
"@esotericsoftware/spine-player": {
|
"@esotericsoftware/spine-player": {
|
||||||
"version": "file:spine-player",
|
"version": "file:spine-player",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@esotericsoftware/spine-webgl": "^4.0.12"
|
"@esotericsoftware/spine-webgl": "^4.0.13"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@esotericsoftware/spine-threejs": {
|
"@esotericsoftware/spine-threejs": {
|
||||||
"version": "file:spine-threejs",
|
"version": "file:spine-threejs",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12",
|
"@esotericsoftware/spine-core": "^4.0.13",
|
||||||
"@types/three": "^0.131.0",
|
"@types/three": "^0.131.0",
|
||||||
"three": "^0.132.0"
|
"three": "^0.132.0"
|
||||||
}
|
}
|
||||||
@ -8399,7 +8398,7 @@
|
|||||||
"@esotericsoftware/spine-webgl": {
|
"@esotericsoftware/spine-webgl": {
|
||||||
"version": "file:spine-webgl",
|
"version": "file:spine-webgl",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12"
|
"@esotericsoftware/spine-core": "^4.0.13"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/normalize-package-data": {
|
"@types/normalize-package-data": {
|
||||||
@ -8411,7 +8410,8 @@
|
|||||||
"@types/offscreencanvas": {
|
"@types/offscreencanvas": {
|
||||||
"version": "2019.6.4",
|
"version": "2019.6.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz",
|
||||||
"integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q=="
|
"integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"@types/three": {
|
"@types/three": {
|
||||||
"version": "0.131.1",
|
"version": "0.131.1",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-ts",
|
"name": "@esotericsoftware/spine-ts",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"files": [
|
"files": [
|
||||||
"README.md"
|
"README.md"
|
||||||
@ -57,9 +57,7 @@
|
|||||||
"live-server": "^1.2.1",
|
"live-server": "^1.2.1",
|
||||||
"npx": "^10.2.2",
|
"npx": "^10.2.2",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"typescript": "^4.3.5"
|
"typescript": "^4.3.5",
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@types/offscreencanvas": "^2019.6.4"
|
"@types/offscreencanvas": "^2019.6.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-canvas",
|
"name": "@esotericsoftware/spine-canvas",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -30,6 +30,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12"
|
"@esotericsoftware/spine-core": "^4.0.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-core",
|
"name": "@esotericsoftware/spine-core",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-player",
|
"name": "@esotericsoftware/spine-player",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -30,6 +30,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-webgl": "^4.0.12"
|
"@esotericsoftware/spine-webgl": "^4.0.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-threejs",
|
"name": "@esotericsoftware/spine-threejs",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -32,6 +32,6 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/three": "^0.131.0",
|
"@types/three": "^0.131.0",
|
||||||
"three": "^0.132.0",
|
"three": "^0.132.0",
|
||||||
"@esotericsoftware/spine-core": "^4.0.12"
|
"@esotericsoftware/spine-core": "^4.0.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-webgl",
|
"name": "@esotericsoftware/spine-webgl",
|
||||||
"version": "4.0.12",
|
"version": "4.0.13",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -30,6 +30,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "^4.0.12"
|
"@esotericsoftware/spine-core": "^4.0.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -27,8 +27,9 @@
|
|||||||
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
import { Input, Vector3 } from "src";
|
import { Input } from "./Input";
|
||||||
import { OrthoCamera } from "./Camera";
|
import { OrthoCamera } from "./Camera";
|
||||||
|
import { Vector3 } from "./Vector3";
|
||||||
|
|
||||||
export class CameraController {
|
export class CameraController {
|
||||||
constructor (public canvas: HTMLElement, public camera: OrthoCamera) {
|
constructor (public canvas: HTMLElement, public camera: OrthoCamera) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user