feat: oops, now it's correct

This commit is contained in:
TrèsAbhi committed 2024-01-20 15:22:03 -06:00
1 parent e724069cbd
commit 6f42e2835c
1 file changed
+1 -4
@@ -50,8 +50,6 @@ export function ArmorMesh({
} }
}); });
console.log(resolveNearPenetration(shell.penetration));
return ( return (
<> <>
<mesh {...props} renderOrder={0}> <mesh {...props} renderOrder={0}>
@@ -81,8 +79,7 @@ export function ArmorMesh({
canSplash: { value: canSplash(shell.type) }, canSplash: { value: canSplash(shell.type) },
thickness: { value: thickness }, thickness: { value: thickness },
penetration: { penetration: {
// value: resolveNearPenetration(shell.penetration), value: resolveNearPenetration(shell.penetration),
value: 0,
}, },
caliber: { value: shell.caliber }, caliber: { value: shell.caliber },
ricochetAngle: { value: degToRad(shell.ricochet ?? 90) }, ricochetAngle: { value: degToRad(shell.ricochet ?? 90) },