diff --git a/.vscode/settings.json b/.vscode/settings.json index 0da4cfd..9b51fee 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,6 +4,7 @@ "anims", "anisotrophy", "arethetypeswrong", + "attw", "drei", "flipy", "fovy", diff --git a/packages/twopoint5d-elements/src/components/UnrealBloomPassElement.ts b/packages/twopoint5d-elements/src/components/UnrealBloomPassElement.ts index 862f6fe..fd72a90 100644 --- a/packages/twopoint5d-elements/src/components/UnrealBloomPassElement.ts +++ b/packages/twopoint5d-elements/src/components/UnrealBloomPassElement.ts @@ -1,4 +1,5 @@ import {consume} from '@lit/context'; +import {on} from '@spearwolf/eventize'; import {batch} from '@spearwolf/signalize'; import {effect, signal} from '@spearwolf/signalize/decorators'; import type {Display} from '@spearwolf/twopoint5d'; @@ -13,7 +14,6 @@ import { } from '../context/post-processing-context.js'; import {displayContext} from '../index.js'; import {TwoPoint5DElement} from './TwoPoint5DElement.js'; -import { on } from '@spearwolf/eventize'; export class UnrealBloomPassElement extends TwoPoint5DElement implements PostProcessingPassElement { static override styles = css` diff --git a/packages/twopoint5d-r3f/src/hooks/useStageSize.ts b/packages/twopoint5d-r3f/src/hooks/useStageSize.ts index 977e753..09daa50 100644 --- a/packages/twopoint5d-r3f/src/hooks/useStageSize.ts +++ b/packages/twopoint5d-r3f/src/hooks/useStageSize.ts @@ -1,8 +1,8 @@ +import {on} from '@spearwolf/eventize'; import {Stage2D} from '@spearwolf/twopoint5d'; import {StageResize} from '@spearwolf/twopoint5d/events.js'; import {useContext, useEffect, useState} from 'react'; import {Stage2DContext} from '../components/Stage2D.js'; -import { on } from '@spearwolf/eventize'; /** * Use this hook if you simply want to know the stage size. diff --git a/packages/twopoint5d/package.json b/packages/twopoint5d/package.json index b1e4d4c..23abeb0 100644 --- a/packages/twopoint5d/package.json +++ b/packages/twopoint5d/package.json @@ -1,7 +1,7 @@ { "name": "@spearwolf/twopoint5d", "description": "a library to create 2.5d realtime graphics and pixelart with three.js", - "version": "0.4.0", + "version": "0.5.0-dev", "author": { "name": "Wolfger Schramm", "email": "wolfger@spearwolf.de",