Fixed lookAt animation

This commit is contained in:
2022-02-02 00:01:26 +03:00
parent 5f55b913d8
commit e019b038ff
4 changed files with 12 additions and 14 deletions

View File

@@ -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 });
});
}