mirror of
https://github.com/Floriansylvain/generic-threejs-game.git
synced 2026-08-20 03:53:40 +02:00
clean: complete optimization of player movements
This commit is contained in:
@@ -38,7 +38,10 @@ export function Cubes(props: { cubesPosition: Vector3[] }) {
|
||||
scale={[1, 1, 1]}
|
||||
>
|
||||
<boxGeometry attach={"geometry"}></boxGeometry>
|
||||
<meshLambertMaterial color={"hotpink"}></meshLambertMaterial>
|
||||
<meshLambertMaterial
|
||||
color={"hotpink"}
|
||||
toneMapped={false}
|
||||
></meshLambertMaterial>
|
||||
</mesh>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user