如何在給定起始位置為 3d 點、方向為 3d 旋轉(x、y 和 z 中的 0-360)和距離的情況下獲得終點(3d)?價值觀:
local x, y, z = 0,0,0 -- starting position
local rx, ry, rz = 0, 180, 360 -- rotation
local distance = 10 -- distance
local destinationX, destinationY, destinationZ = ... -- endpoint
我知道
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/520226.html
標籤:数学3d坐标坐标变换
