fix: format & lint
This commit is contained in:
@@ -4,7 +4,10 @@ import {
|
|||||||
DEBUG_CAMERA_MAX_DISTANCE,
|
DEBUG_CAMERA_MAX_DISTANCE,
|
||||||
DEBUG_CAMERA_MIN_DISTANCE,
|
DEBUG_CAMERA_MIN_DISTANCE,
|
||||||
} from "@/data/debugConfig";
|
} from "@/data/debugConfig";
|
||||||
import { PLAYER_EYE_HEIGHT, PLAYER_SPAWN_POSITION_GAME } from "@/data/playerConfig";
|
import {
|
||||||
|
PLAYER_EYE_HEIGHT,
|
||||||
|
PLAYER_SPAWN_POSITION_GAME,
|
||||||
|
} from "@/data/playerConfig";
|
||||||
|
|
||||||
const DEBUG_CAMERA_TARGET = [
|
const DEBUG_CAMERA_TARGET = [
|
||||||
PLAYER_SPAWN_POSITION_GAME[0],
|
PLAYER_SPAWN_POSITION_GAME[0],
|
||||||
|
|||||||
+1
-4
@@ -37,10 +37,7 @@ export function World(): React.JSX.Element {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{cameraMode !== "debug" ? (
|
{cameraMode !== "debug" ? (
|
||||||
<PlayerComponent
|
<PlayerComponent octree={octree} spawnPosition={playerSpawnPosition} />
|
||||||
octree={octree}
|
|
||||||
spawnPosition={playerSpawnPosition}
|
|
||||||
/>
|
|
||||||
) : null}
|
) : null}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user