Skip to content

Commit

Permalink
Update birds.js
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcteng authored Feb 22, 2021
1 parent cfba4ae commit 6ea0c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion birds.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function init() {

renderer = new THREE.WebGLRenderer();
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( window.innerWidth, window.innerHeight );
renderer.setSize( container.offsetWidth, container.offsetHeight );
container.appendChild( renderer.domElement );

initComputeRenderer();
Expand Down

0 comments on commit 6ea0c9d

Please sign in to comment.