mirror of
https://github.com/Theaninova/Bampy.git
synced 2026-01-03 07:12:48 +00:00
stuff
This commit is contained in:
@@ -101,9 +101,9 @@
|
||||
{@const visible = showSlices >= i / $layers.length}
|
||||
{@const color = new Color(0, i / $layers.length, 0.2)}
|
||||
{#if type === LayerType.Line}
|
||||
<T.LineSegments {geometry} {visible}>
|
||||
<T.Line {geometry} {visible}>
|
||||
<T.LineBasicMaterial {color} />
|
||||
</T.LineSegments>
|
||||
</T.Line>
|
||||
{:else if type === LayerType.Surface}
|
||||
<T.Mesh {geometry} {visible}>
|
||||
<T.MeshMatcapMaterial {color} side={DoubleSide} />
|
||||
|
||||
Reference in New Issue
Block a user