mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
Fixed lookAt animation
This commit is contained in:
@@ -194,7 +194,7 @@ export default {
|
||||
|
||||
if (phones.length) {
|
||||
phones.forEach((phone) => {
|
||||
phone.animation(deltaTime, { x: mouseX, y: mouseY, z: camera.position.z });
|
||||
phone.animation(deltaTime, { x: mouseX / 2, y: mouseY / 2, z: camera.position.z });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user