RoundedBox
A box buffer geometry with rounded corners, done with extrusion.
<RoundedBox
args={[1, 1, 1]} // Width, Height and Depth of the box
radius={0.05} // Border-Radius of the box
smoothness={4} // Optional, number of subdivisions
{...meshProps} // All THREE.Mesh props are valid
>
<meshPhongMaterial attach="material" color="#f3f3f3" wireframe />
</RoundedBox>