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.
我正在尝试在 Direct X 中制作太阳系模型。我遇到的问题是让行星的轨道倾角正确显示。以下是我操纵行星的顺序:
我也试过:
我已经存储了轨道倾角的数据(即火星的轨道倾角为 1.85 度)。
当我对 Z 或 X 轴进行旋转时,行星只是向上移动,并在太阳上方旋转,而不是在相对于 x 轴的轨道上。
如评论中所述,矩阵应如下所示:
Orbital inclination
Orbit
Translate