mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: allow thicker lines to depth read
This commit is contained in:
1 parent
39a6e2c38e
commit
15cb472189
1 file changed
+2
-2
@@ -137,7 +137,7 @@ export function ShotDisplay() {
|
||||
ref={entryLine}
|
||||
>
|
||||
<cylinderGeometry args={[THICKNESS / 2, THICKNESS / 2, LENGTH, 8]} />
|
||||
<meshBasicMaterial color="#ffff80" depthTest={false} />
|
||||
<meshBasicMaterial color="#ffff80" />
|
||||
</mesh>
|
||||
<mesh position={[0, 0, LENGTH / 2]} rotation={[Math.PI / 2, 0, 0]}>
|
||||
<cylinderGeometry args={[THICKNESS / 4, THICKNESS / 4, LENGTH, 8]} />
|
||||
@@ -156,7 +156,7 @@ export function ShotDisplay() {
|
||||
<cylinderGeometry
|
||||
args={[THICKNESS / 2, THICKNESS / 2, LENGTH, 8]}
|
||||
/>
|
||||
<meshBasicMaterial color="#ff8080" depthTest={false} />
|
||||
<meshBasicMaterial color="#ff8080" />
|
||||
</mesh>
|
||||
<mesh position={[0, 0, LENGTH / 2]} rotation={[Math.PI / 2, 0, 0]}>
|
||||
<cylinderGeometry
|
||||
|
||||
Reference in new issue
Block a user