We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0022046 commit 9b5b440Copy full SHA for 9b5b440
h2d/Camera.hx
@@ -224,8 +224,8 @@ class Camera {
224
matC = scaleY * -sr;
225
matD = scaleY * cr;
226
}
227
- absX = Math.round(-(x * matA + y * matC) + (scene.width * anchorX * viewW) + scene.width * viewX);
228
- absY = Math.round(-(x * matB + y * matD) + (scene.height * anchorY * viewH) + scene.height * viewY);
+ absX = -(x * matA + y * matC) + (scene.width * anchorX * viewW) + scene.width * viewX;
+ absY = -(x * matB + y * matD) + (scene.height * anchorY * viewH) + scene.height * viewY;
229
invDet = 1 / (matA * matD - matB * matC);
230
posChanged = false;
231
0 commit comments