We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2d062b commit 9832befCopy full SHA for 9832bef
1 file changed
src/renderer/webgl/WebGLRenderer.js
@@ -1351,7 +1351,7 @@ var WebGLRenderer = new Class({
1351
var resolution = this.config.resolution;
1352
1353
var cx = Math.floor(camera.x * resolution);
1354
- var cy = Math.floor(camera.x * resolution);
+ var cy = Math.floor(camera.y * resolution);
1355
var cw = Math.floor(camera.width * resolution);
1356
var ch = Math.floor(camera.height * resolution);
1357
0 commit comments