W3Cschool
恭喜您成為首批注冊用戶
獲得88經驗值獎勵
一個點的spherical coordinates(球坐標)。
radius - 半徑值,或者說從該點到原點的 Euclidean distance(歐幾里得距離,即直線距離)。默認值為1.0。
phi - 與 y (up) 軸的極角(以弧度為單位)。 默認值為 0。
theta - 繞 y (up) 軸的赤道角(方位角)(以弧度為單位)。 默認值為 0。
極角(phi)位于正 y 軸和負 y 軸上。赤道角(方位角)(theta)從正 z 開始。
返回一個新的球坐標,新的球坐標與該球坐標具有相同的 radius、phi和theta。
復制所傳入的球坐標的radius、 phi 和theta屬性到該球坐標中。
將極角 phi 的值限制在0.000001 和 π - 0.000001 之間。
設置球坐標中radius、phi 和 theta 屬性的值。
從Vector3中設置球坐標的radius、phi和theta值。
從笛卡爾坐標系中設置球坐標的radius、phi和theta值。
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: