Skip to content

Commit 9832bef

Browse files
committed
Fixed camera y
1 parent b2d062b commit 9832bef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer/webgl/WebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ var WebGLRenderer = new Class({
13511351
var resolution = this.config.resolution;
13521352

13531353
var cx = Math.floor(camera.x * resolution);
1354-
var cy = Math.floor(camera.x * resolution);
1354+
var cy = Math.floor(camera.y * resolution);
13551355
var cw = Math.floor(camera.width * resolution);
13561356
var ch = Math.floor(camera.height * resolution);
13571357

0 commit comments

Comments
 (0)