开发者

Find nearest rotation for cube

I have c开发者_JAVA百科amera that look at cube from above. I can rotate cube so cube can have rotation values like z=258.18594 x=1. I need advice how to get nearest rotation with cube stand on ground and camera see top face.


Look for Quaternion mathematics and Quaternion interpolation. This will make the task rather easy.

See also Nearest Neighbours using Quaternions

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜