import React from 'react';
import { Perf } from 'r3f-perf';
import { World } from '@game/components/World';
import { Camera } from '@game/components/Camera';

export function GameScene() {
  return (
    <>
      <Perf position="top-left" showGraph />

      <fog attach="fog" args={['white', 20, 500]} />

      <ambientLight intensity={0.2} />

      <pointLight position={[-10, 7, 1]} color="orange" intensity={3.5} />
      <pointLight position={[10, 10, 10]} intensity={1} />

      <World />

      <Camera />
    </>
  );
}
