We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb187da commit 0e7b22bCopy full SHA for 0e7b22b
src/components/hero/index.tsx
@@ -89,7 +89,7 @@ void main() {
89
const camera = new Camera(gl, { near: 0.1, far: 100 });
90
camera.position.set(2.2, 2.2, 2.2);
91
camera.lookAt(new Vec3(0, 0, 0));
92
- renderer.setSize(window.innerWidth, window.innerHeight);
+ renderer.setSize(window.innerWidth, window.innerHeight - 264);
93
const resize = () => {
94
camera.perspective({ aspect: gl.canvas.width / gl.canvas.height });
95
};
0 commit comments