在 2d 平面中,我可以通过计算它们的 x 和 y 位置差的
atan2
GLM 中是否有自动为您执行此操作的功能?
@gman 有我要找的答案,我只需要做 glm::inverse(glm::lookat()) 来解决我的问题!