mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[ts][pixi-v8] Add missing .js extensions.
This commit is contained in:
parent
9d49999e2b
commit
1b3194a67c
@ -27,7 +27,7 @@
|
|||||||
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
import { AttachmentCacheData, Spine } from './Spine';
|
import { AttachmentCacheData, Spine } from './Spine.js';
|
||||||
|
|
||||||
import type { Batch, Batcher, BLEND_MODES, DefaultBatchableMeshElement, Matrix, Texture, Topology } from 'pixi.js';
|
import type { Batch, Batcher, BLEND_MODES, DefaultBatchableMeshElement, Matrix, Texture, Topology } from 'pixi.js';
|
||||||
|
|
||||||
|
|||||||
@ -42,7 +42,7 @@ import {
|
|||||||
Ticker,
|
Ticker,
|
||||||
ViewContainer,
|
ViewContainer,
|
||||||
} from 'pixi.js';
|
} from 'pixi.js';
|
||||||
import { ISpineDebugRenderer } from './SpineDebugRenderer';
|
import { ISpineDebugRenderer } from './SpineDebugRenderer.js';
|
||||||
import {
|
import {
|
||||||
AnimationState,
|
AnimationState,
|
||||||
AnimationStateData,
|
AnimationStateData,
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
import { Container, Graphics, Text } from 'pixi.js';
|
import { Container, Graphics, Text } from 'pixi.js';
|
||||||
import { Spine } from './Spine';
|
import { Spine } from './Spine.js';
|
||||||
import {
|
import {
|
||||||
ClippingAttachment,
|
ClippingAttachment,
|
||||||
MeshAttachment,
|
MeshAttachment,
|
||||||
|
|||||||
@ -36,8 +36,8 @@ import {
|
|||||||
type Renderer,
|
type Renderer,
|
||||||
type RenderPipe,
|
type RenderPipe,
|
||||||
} from 'pixi.js';
|
} from 'pixi.js';
|
||||||
import { BatchableSpineSlot } from './BatchableSpineSlot';
|
import { BatchableSpineSlot } from './BatchableSpineSlot.js';
|
||||||
import { Spine } from './Spine';
|
import { Spine } from './Spine.js';
|
||||||
import { MeshAttachment, RegionAttachment } from '@esotericsoftware/spine-core';
|
import { MeshAttachment, RegionAttachment } from '@esotericsoftware/spine-core';
|
||||||
|
|
||||||
const spineBlendModeMap: Record<number, BLEND_MODES> = {
|
const spineBlendModeMap: Record<number, BLEND_MODES> = {
|
||||||
|
|||||||
@ -37,7 +37,7 @@ import {
|
|||||||
Resolver,
|
Resolver,
|
||||||
TextureSource
|
TextureSource
|
||||||
} from 'pixi.js';
|
} from 'pixi.js';
|
||||||
import { SpineTexture } from '../SpineTexture';
|
import { SpineTexture } from '../SpineTexture.js';
|
||||||
import { TextureAtlas } from '@esotericsoftware/spine-core';
|
import { TextureAtlas } from '@esotericsoftware/spine-core';
|
||||||
|
|
||||||
import type { AssetExtension, Loader, ResolvedAsset, Texture, UnresolvedAsset } from 'pixi.js';
|
import type { AssetExtension, Loader, ResolvedAsset, Texture, UnresolvedAsset } from 'pixi.js';
|
||||||
|
|||||||
@ -36,8 +36,8 @@ import {
|
|||||||
ExtensionType,
|
ExtensionType,
|
||||||
Shader
|
Shader
|
||||||
} from 'pixi.js';
|
} from 'pixi.js';
|
||||||
import { DarkTintBatchGeometry } from './DarkTintBatchGeometry';
|
import { DarkTintBatchGeometry } from './DarkTintBatchGeometry.js';
|
||||||
import { DarkTintShader } from './DarkTintShader';
|
import { DarkTintShader } from './DarkTintShader.js';
|
||||||
|
|
||||||
let defaultShader: Shader | null = null;
|
let defaultShader: Shader | null = null;
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ import {
|
|||||||
roundPixelsBitGl,
|
roundPixelsBitGl,
|
||||||
Shader
|
Shader
|
||||||
} from 'pixi.js';
|
} from 'pixi.js';
|
||||||
import { darkTintBit, darkTintBitGl } from './darkTintBit';
|
import { darkTintBit, darkTintBitGl } from './darkTintBit.js';
|
||||||
|
|
||||||
export class DarkTintShader extends Shader {
|
export class DarkTintShader extends Shader {
|
||||||
constructor (maxTextures: number) {
|
constructor (maxTextures: number) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user