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和极坐标?phipositionrotationTHREE.PerspectiveCamera
theta
phi
position
rotation
THREE.PerspectiveCamera
您只需将您的x、y和z坐标代入以下方程:
x
y
z
来源:https ://en.wikipedia.org/wiki/Spherical_coordinate_system