mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-06 14:00:43 +00:00
10 lines
270 B
TypeScript
10 lines
270 B
TypeScript
import { PerspectiveCamera } from "@react-three/drei";
|
|
import { useSettings } from "./SettingsProvider";
|
|
|
|
export function ObserverCamera() {
|
|
const { fov } = useSettings();
|
|
|
|
return (
|
|
<PerspectiveCamera makeDefault position={[-512, 256, -512]} fov={fov} />
|
|
);
|
|
}
|