Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 524 feat add directives to core #525

Merged
merged 5 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: fix build issues
  • Loading branch information
alvarosabu committed Jan 27, 2024
commit dc4e4c1364ca514e3e1a3e6f0f504a413a4674e3
2 changes: 1 addition & 1 deletion src/directives/vAlwaysLookAt.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useRenderLoop, useLogger } from '@tresjs/core'
import type { Object3D } from 'three'
import type { Ref } from 'vue'
import { extractBindingPosition } from '../utils'
import type { TresVector3 } from '../types'
import { useLogger, useRenderLoop } from '../composables'

const { logWarning } = useLogger()

Expand Down
2 changes: 1 addition & 1 deletion src/directives/vDistanceTo.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useLogger } from '@tresjs/core'
import { ArrowHelper } from 'three'
import type { Ref } from 'vue'
import { extractBindingPosition } from '../utils'
import type { TresObject } from '../types'
import { useLogger } from '../composables'

const { logWarning } = useLogger()

Expand Down
3 changes: 2 additions & 1 deletion src/directives/vLightHelper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useLogger } from '@tresjs/core'

import type {
Light,
} from 'three'
Expand All @@ -9,6 +9,7 @@ import {
HemisphereLightHelper,
} from 'three'
import { RectAreaLightHelper } from 'three-stdlib'
import { useLogger } from '../composables'
import type { TresObject } from '../types'

const { logWarning } = useLogger()
Expand Down
Loading