3D圓錐圖形的製作

3D圓錐圖形的製作 圓錐座標的公式是: x=h*tanθ*sinφ   y=h*tanθ   z=h*tanθ*cosφ 其中,圓錐的高h,θ都是已知的。φ=2π/每層的字數 代碼如下: /*html代碼*/ <div id="scene"> <div id="box"> <ul class="ring"> </ul> </div> </div> /*css代碼*/ #scene { width:
相關文章
相關標籤/搜索