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 de38957 commit ec5c01dCopy full SHA for ec5c01d
src/components/hero-404/index.tsx
@@ -21,7 +21,7 @@ const MOBILE_HEIGHT = 260;
21
const DESKTOP_CAMERA_POSITION = new Vec3(8, -4, 15);
22
const MOBILE_CAMERA_POSITION = new Vec3(14, -10, 21);
23
24
-const MODEL_POSITION = new Vec3(0, 0, 0);
+const MODEL_POSITION = new Vec3(-0.3, 0, 0);
25
26
export const HeroASCIINotFound = () => {
27
const containerRef = useRef<HTMLDivElement>(null);
@@ -110,7 +110,7 @@ void main() {
110
camera.position.set(
111
isMobile() ? MOBILE_CAMERA_POSITION : DESKTOP_CAMERA_POSITION
112
);
113
- camera.lookAt(MODEL_POSITION);
+ camera.lookAt(new Vec3(0, 0, 0));
114
115
const scene = new Transform();
116
scene.position.copy(MODEL_POSITION);
0 commit comments