Skip to content

Commit

Permalink
pixel ratio - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzakm committed Mar 15, 2024
1 parent 5ab412d commit 5c4b28a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const initBunBench = async (count = 100000) => {
// GENERAL SCENE SETUP
const screenWidth = window.innerWidth;
const screenHeight = window.innerHeight;
const pixelRatio = window.devicePixelRatio || 1;
const pixelRatio = 1;

const camera = new OrthographicCamera(0, screenWidth, screenHeight, 0, 1, 1000);
camera.position.set(0, 0, 10);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const initDemonBench = async (count = 100000) => {
// GENERAL SCENE SETUP
const screenWidth = window.innerWidth;
const screenHeight = window.innerHeight;
const pixelRatio = window.devicePixelRatio || 1;
const pixelRatio = 1;

const camera = new OrthographicCamera(0, screenWidth, screenHeight, 0, 1, 1000);
camera.position.set(0, 0, 10);
Expand Down

0 comments on commit 5c4b28a

Please sign in to comment.