@ -367,32 +367,6 @@ const THREE_D_SOURCE_OPTIONS: MenuOption[] = [
} ,
} ,
] ;
] ;
// 3D target options (nodes that accept 3D input)
const THREE_D_TARGET_OPTIONS : MenuOption [ ] = [
{
type : "glbViewer" ,
label : "3D Viewer" ,
icon : (
< svg className = "w-4 h-4" fill = "none" viewBox = "0 0 24 24" stroke = "currentColor" strokeWidth = { 1.5 } >
< path strokeLinecap = "round" strokeLinejoin = "round" d = "M21 7.5l-2.25-1.313M21 7.5v2.25m0-2.25l-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3l2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75l2.25-1.313M12 21.75V19.5m0 2.25l-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25" / >
< / svg >
) ,
} ,
] ;
// 3D source options (nodes that produce 3D output)
const THREE_D_SOURCE_OPTIONS : MenuOption [ ] = [
{
type : "generate3d" ,
label : "Generate 3D" ,
icon : (
< svg className = "w-4 h-4" fill = "none" viewBox = "0 0 24 24" stroke = "currentColor" strokeWidth = { 1.5 } >
< path strokeLinecap = "round" strokeLinejoin = "round" d = "M21 7.5l-2.25-1.313M21 7.5v2.25m0-2.25l-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3l2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75l2.25-1.313M12 21.75V19.5m0 2.25l-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25" / >
< / svg >
) ,
} ,
] ;
interface ConnectionDropMenuProps {
interface ConnectionDropMenuProps {
position : { x : number ; y : number } ;
position : { x : number ; y : number } ;
handleType : "image" | "text" | "video" | "audio" | "3d" | "easeCurve" | null ;
handleType : "image" | "text" | "video" | "audio" | "3d" | "easeCurve" | null ;