Compare commits

...
Author SHA1 Message Date
Chris Tate c9bf4c1268 fixes 2026-03-20 21:49:38 -05:00
2 changed files with 8 additions and 4 deletions
@@ -590,7 +590,8 @@ export function GameExtrude({
>
<extrudeGeometry
args={[
shape as THREE.Shape,
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- @types/three version mismatch
shape as any,
{ depth: depth ?? 1, bevelEnabled: false },
]}
/>
@@ -642,7 +643,8 @@ export function GameTube({
>
<tubeGeometry
args={[
curve as THREE.Curve<THREE.Vector3>,
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- @types/three version mismatch
curve as any,
tubularSegments ?? 64,
radius ?? 0.1,
radialSegments ?? 8,
@@ -714,7 +716,8 @@ export function GameShape({
castShadow={castShadow ?? false}
receiveShadow={receiveShadow ?? false}
>
<shapeGeometry args={[shape as THREE.Shape]} />
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any -- @types/three version mismatch */}
<shapeGeometry args={[shape as any]} />
<meshStandardMaterial
{...buildMaterialProps(material)}
side={THREE.DoubleSide}
@@ -81,7 +81,8 @@ export function MediaPlane({
<planeGeometry args={[w, h]} />
{texture ? (
<meshBasicMaterial
map={texture as THREE.Texture}
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- @types/three version mismatch
map={texture as any}
side={THREE.DoubleSide}
/>
) : (