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