import{n as r}from"./index-b54f5418.js";import"./three-dc46505d.js";var l=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"VisConeModel-container"},[n("de-collapse-layout",{attrs:{label:"形状",icon:"#iconjichubianhuan","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[n("de-controller-number",{attrs:{keyframe:!1,label:"底部半径",step:1,min:0},model:{value:e.config.radius,callback:function(t){e.$set(e.config,"radius",t)},expression:"config.radius"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"高度",step:1,min:0},model:{value:e.config.height,callback:function(t){e.$set(e.config,"height",t)},expression:"config.height"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"侧面分段",step:1,min:3},model:{value:e.config.radialSegments,callback:function(t){e.$set(e.config,"radialSegments",t)},expression:"config.radialSegments"}})]},proxy:!0}])}),n("de-collapse-layout",{attrs:{label:"高级",icon:"#iconzhuanshupeizhi","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[n("de-controller-switch",{attrs:{keyframe:!1,label:"开放底面"},model:{value:e.config.openEnded,callback:function(t){e.$set(e.config,"openEnded",t)},expression:"config.openEnded"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"起始角度",step:1,"drag-multply":5,min:0,max:360,unit:"°","display-accuracy":0},model:{value:e.thetaStart,callback:function(t){e.thetaStart=t},expression:"thetaStart"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"闭合角度",step:1,"drag-multply":5,min:0,max:360,unit:"°","display-accuracy":0},model:{value:e.thetaLength,callback:function(t){e.thetaLength=t},expression:"thetaLength"}})]},proxy:!0}])})],1)},i=[];const s={props:{config:{type:Object,required:!0}},computed:{thetaStart:{get(){return this.config.thetaStart*180/Math.PI},set(e){this.config.thetaStart=e*Math.PI/180}},thetaLength:{get(){return this.config.thetaLength*180/Math.PI},set(e){this.config.thetaLength=e*Math.PI/180}}}},o={};var c=r(s,l,i,!1,u,null,null,null);function u(e){for(let a in o)this[a]=o[a]}const d=function(){return c.exports}();export{d as default};
