From b414fe9bad692b1998e1df97585146f5681d8cba Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 11 Apr 2019 12:20:50 -0500 Subject: [PATCH] fix: don't round camera position --- client/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/index.js b/client/index.js index 9744d62..506e8cd 100644 --- a/client/index.js +++ b/client/index.js @@ -84,9 +84,7 @@ room.on('entityAdded', (entity) => { } const {camera} = entity; camera.on('realPositionChanged', () => { - const offset = Vector.round( - Vector.sub(halfVisibleSize, camera.realPosition) - ); + const offset = Vector.sub(halfVisibleSize, camera.realPosition); roomView.position = offset; dirty = true; });