style: run format:apply
This commit is contained in:
+4
-13
@@ -1,10 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import {
|
import { Environment, OrbitControls, useProgress } from '@react-three/drei';
|
||||||
Environment,
|
|
||||||
OrbitControls,
|
|
||||||
useProgress
|
|
||||||
} from '@react-three/drei';
|
|
||||||
import { Canvas, useLoader, useFrame } from '@react-three/fiber';
|
import { Canvas, useLoader, useFrame } from '@react-three/fiber';
|
||||||
import {
|
import {
|
||||||
forwardRef,
|
forwardRef,
|
||||||
@@ -24,7 +20,7 @@ import {
|
|||||||
DoubleSide,
|
DoubleSide,
|
||||||
TextureLoader,
|
TextureLoader,
|
||||||
Color,
|
Color,
|
||||||
MeshStandardMaterial,
|
MeshStandardMaterial
|
||||||
} from 'three';
|
} from 'three';
|
||||||
import { LUTCubeLoader } from 'three/examples/jsm/loaders/LUTCubeLoader';
|
import { LUTCubeLoader } from 'three/examples/jsm/loaders/LUTCubeLoader';
|
||||||
|
|
||||||
@@ -497,11 +493,7 @@ function TerrainChunk({
|
|||||||
geometry={geometry}
|
geometry={geometry}
|
||||||
position={[x * size, 0, y * size]}
|
position={[x * size, 0, y * size]}
|
||||||
>
|
>
|
||||||
<meshStandardMaterial
|
<meshStandardMaterial vertexColors roughness={1.0} metalness={0.0} />
|
||||||
vertexColors
|
|
||||||
roughness={1.0}
|
|
||||||
metalness={0.0}
|
|
||||||
/>
|
|
||||||
</mesh>
|
</mesh>
|
||||||
{shouldRenderGrass && (
|
{shouldRenderGrass && (
|
||||||
<Grass
|
<Grass
|
||||||
@@ -620,7 +612,7 @@ function Loader() {
|
|||||||
return (
|
return (
|
||||||
<div className={`loader ${!visible ? 'loader hidden' : ''}`}>
|
<div className={`loader ${!visible ? 'loader hidden' : ''}`}>
|
||||||
<picture>
|
<picture>
|
||||||
<img alt="niko!!" src='/img/niko.jpg' className='niko-spin' />
|
<img alt='niko!!' src='/img/niko.jpg' className='niko-spin' />
|
||||||
</picture>
|
</picture>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@@ -632,7 +624,6 @@ function LutEffect() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Loader />
|
<Loader />
|
||||||
|
|||||||
Reference in New Issue
Block a user