<RoundedBox>
is a mesh, it wants geometry. threejs has a roundedboxgeometry
import { extend } from '@react-three/fiber'
import { RoundedBoxGeometry } from 'three-stdlib'
extend({ RoundedBoxGeometry })
<Geometry>
<Base>
<roundedBoxGeometry />
</Base>
<Subtraction>
<...
arguably though <RoundedBox>
is limited as a mesh, it should probably be <RoundedBoxGeometry>
and it would be much more versatile. applies to all of these drei geometry shortcuts but we didn’t see it like that back then. if you want you could make a PR.