bug fix wallAsset
This commit is contained in:
@@ -121,7 +121,7 @@ function Wall({ wall }: { readonly wall: Wall }) {
|
|||||||
castShadow
|
castShadow
|
||||||
receiveShadow
|
receiveShadow
|
||||||
ref={meshRef}
|
ref={meshRef}
|
||||||
geometry={geometry}
|
geometry={visible ? geometry : new THREE.BoxGeometry(0, 0)}
|
||||||
position={[centerX, centerY, centerZ]}
|
position={[centerX, centerY, centerZ]}
|
||||||
rotation={[0, -angle, 0]}
|
rotation={[0, -angle, 0]}
|
||||||
userData={wall}
|
userData={wall}
|
||||||
|
|||||||
Reference in New Issue
Block a user