Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
three.js シーンが与えられた場合、x、y、zおよびa のプロパティ値からthetaおよびphi極座標をどのように計算しますか?positionrotationTHREE.PerspectiveCamera
theta
phi
position
rotation
THREE.PerspectiveCamera
x、y、およびz座標を取得して、次の方程式に代入するだけです。
x
y
z
出典: https://en.wikipedia.org/wiki/Spherical_coordinate_system