-
-
Notifications
You must be signed in to change notification settings - Fork 179
camera-controls: verticalDragToForward was removed. Use mouseButtons.left = CameraControls.ACTION.SCREEN_PAN instead. #1385
Copy link
Copy link
Open
Labels
Description
Describe the bug
THREE.THREE.Clock: This module has been deprecated. Please use THREE.Timer instead.
camera-controls: verticalDragToForward was removed. Use mouseButtons.left = CameraControls.ACTION.SCREEN_PAN instead.
{
"@tresjs/cientos": "^5.6.0",
"@tresjs/core": "^5.7.0",
"@tresjs/post-processing": "^3.6.0",
"gsap": "^3.14.2",
"pinia": "^3.0.4",
"three": "^0.183.1",
"tweakpane": "^4.0.5",
"vue": "^3.5.29",
"vue-router": "^5.0.3"
}Reproduction
https://cientos.tresjs.org/api/controls/camera-controls
Steps to reproduce
index.vue
<template>
<TresCanvas clear-color="#82DBC5" window-size>
<TresPerspectiveCamera :position="[5, 5, 5]" />
<CameraControls />
<TresAxesHelper />
<TresGridHelper />
</TresCanvas>
</template>
<script setup lang="ts">
import { TresCanvas } from '@tresjs/core'
import { CameraControls } from '@tresjs/cientos'
</script>
<style scoped></style>System Info
Win11, Chrome, pnpm
{
"@tresjs/cientos": "^5.6.0",
"@tresjs/core": "^5.7.0",
"@tresjs/post-processing": "^3.6.0",
"gsap": "^3.14.2",
"pinia": "^3.0.4",
"three": "^0.183.1",
"tweakpane": "^4.0.5",
"vue": "^3.5.29",
"vue-router": "^5.0.3"
}Used Package Manager
pnpm
Code of Conduct
- I agree to follow this project's Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable