feat: fucking hell yeah (it works) dont look at commit time pls

This commit is contained in:
2024-04-23 04:59:20 +02:00
parent 98cf2e8369
commit 00776b92d3
7 changed files with 114 additions and 19 deletions

View File

@ -23,16 +23,6 @@
<T.GridHelper args={[20, 20]} />
{/if}
{#if lines}
{#each lines as line}
<T.Mesh>
<MeshLineGeometry points={line} />
<MeshLineMaterial width={0.1} depthTest={false} />
</T.Mesh>
{/each}
{/if}
<T.PerspectiveCamera position={[-10, 10, 10]} makeDefault fov={50}>
<OrbitControls />
</T.PerspectiveCamera>
@ -54,6 +44,19 @@
</T.Points>
{/if}
<T.Mesh geometry={geo}>
<T.MeshStandardMaterial color="green" wireframe={$AppSettings.wireframe} />
<T.MeshStandardMaterial
color="green"
depthTest={true}
wireframe={$AppSettings.wireframe}
/>
</T.Mesh>
{/each}
{#if $AppSettings.showStemLines && lines}
{#each lines as line}
<T.Mesh scale={2}>
<MeshLineGeometry points={line} />
<MeshLineMaterial width={0.1} color="red" depthTest={false} />
</T.Mesh>
{/each}
{/if}

View File

@ -58,6 +58,11 @@ export const AppSettingTypes = {
label: "Show Indices",
value: false,
},
showStemLines: {
type: "boolean",
label: "Show Stem Lines",
value: false,
},
stressTest: {
__title: "Stress Test",
amount: {