Krasjet / quaternion

A brief introduction to the quaternions and its applications in 3D geometry.
https://krasjet.github.io/quaternion/
1.72k stars 272 forks source link

这里是不是计算有误啊,不太理解你书本上的那一段。 #37

Open linround opened 1 year ago

linround commented 1 year ago

这个投影计算的方式有问题吧;

这个是书本上的内容

image

这个是我认为修改后的内容

微信图片_20230804085116

zhongxiang117 commented 1 year ago

他用的是通用的 向量投影 公式:[https://en.wikipedia.org/wiki/Vector_projection](),你这样反而更麻烦,需要借助 “额外” 的 cos(theta)

linround commented 1 year ago

他用的是通用的 向量投影 公式:https://en.wikipedia.org/wiki/Vector_projection,你这样反而更麻烦,需要借助 “额外” 的 cos(theta)

谢了,明白了

JivinDotL commented 1 year ago

你这个是那本书里面的?

whxcode commented 1 year ago

image 我在线性代数书中看见的.