Skip to content

Commit

Permalink
fix(core): removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Dec 3, 2022
1 parent f943807 commit 1387834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/tres/src/core/useInstanceCreator/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import { OrthographicCamera } from 'three'
/* eslint-disable new-cap */
/* eslint-disable @typescript-eslint/no-empty-function */
import { Object3D, PerspectiveCamera } from 'three'
import { OrthographicCamera, PerspectiveCamera } from 'three'
import { defineComponent } from 'vue'
import { isArray, isDefined, isFunction } from '@alvarosabu/utils'
import { normalizeVectorFlexibleParam } from '/@/utils/normalize'
import { useCamera, useScene } from '/@/core/'
import { useLogger } from '/@/composables'
import { TresCatalogue, TresInstance, TresVNode, TresVNodeType } from '../../types'
import { TresAttributes, TresCatalogue, TresInstance, TresVNode, TresVNodeType } from '/@/types'

const VECTOR3_PROPS = ['rotation', 'scale', 'position']

type TresAttributes = Record<string, any> & { args?: number[] }
export function useInstanceCreator(prefix: string) {
const { logMessage, logError } = useLogger()

Expand Down
1 change: 1 addition & 0 deletions packages/tres/src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export type TresVNodeType = VNodeTypes & {
setup?: (props: Readonly<any>) => void
}
export type TresVNode = VNode & { children?: Array<VNode>; type: TresVNodeType }
export type TresAttributes = Record<string, any> & { args?: number[] }

0 comments on commit 1387834

Please sign in to comment.