import{n as l}from"./index-b54f5418.js";import"./three-dc46505d.js";var o=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"RingGeometry-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,"drag-multply":2,min:0},model:{value:e.config.innerRadius,callback:function(t){e.$set(e.config,"innerRadius",t)},expression:"config.innerRadius"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"外环半径",step:1,"drag-multply":2,min:0},model:{value:e.config.outerRadius,callback:function(t){e.$set(e.config,"outerRadius",t)},expression:"config.outerRadius"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"圆环分段",step:1,"drag-multply":2,min:3},model:{value:e.config.thetaSegments,callback:function(t){e.$set(e.config,"thetaSegments",t)},expression:"config.thetaSegments"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"环面分段",step:1,"drag-multply":2,min:1},model:{value:e.config.phiSegments,callback:function(t){e.$set(e.config,"phiSegments",t)},expression:"config.phiSegments"}}),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}}}},r={};var c=l(s,o,i,!1,u,null,null,null);function u(e){for(let a in r)this[a]=r[a]}const g=function(){return c.exports}();export{g as default};
