From c8be2257efc08c279434157dae07177e0606e8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:21:39 -0500 Subject: [PATCH] feat: softer colros --- .../Armor/components/StaticArmorSceneComponent.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Armor/components/StaticArmorSceneComponent.tsx b/src/components/Armor/components/StaticArmorSceneComponent.tsx index 3b0f77d0b..be6881827 100644 --- a/src/components/Armor/components/StaticArmorSceneComponent.tsx +++ b/src/components/Armor/components/StaticArmorSceneComponent.tsx @@ -105,7 +105,7 @@ export function StaticArmorSceneComponent({ new LineBasicMaterial({ color: color .clone() - .multiplyScalar(props.type === ArmorType.Spaced ? 2 ** 2 : 2 ** -2), + .multiplyScalar(props.type === ArmorType.Spaced ? 2 ** 2 : 2 ** -1), }), [thickness], ); @@ -189,7 +189,7 @@ export function StaticArmorSceneComponent({ .applyQuaternion(event.object.getWorldQuaternion(new Quaternion())); const angle = surfaceNormal.angleTo(cameraNormal); const thicknessAngled = thickness / Math.sin(Math.PI / 2 - angle); - console.log(name); + mutateTankopediaEphemeralStore((draft) => { draft.highlightArmor = { type: props.type, @@ -207,7 +207,7 @@ export function StaticArmorSceneComponent({ {node instanceof Mesh && ( - + )}