![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
3d编程
文章平均质量分 59
wangmarkqi
这个作者很懒,什么都没留下…
展开
-
向量沿着另一个向量旋转-旋转轴和四元数
stackoverflow上看到的问题: I have two vectors as Python lists and an angle. E.g.: v = [3,5,0] axis = [4,4,1] theta = 1.2 #radian What is the best/easiest way to get the resulting vector when rotating the v vector around the axis? 也就是v沿着axis转1.2弧度,求旋转后向量,发现答案都很复杂原创 2021-09-03 17:02:16 · 1359 阅读 · 1 评论 -
javascript代码提示:以vscode,typings,babylonjs为例子
这块相关文章不少,但是有点老。如果你不想用typescript,如果你正在用vscode但是不愿意webpack,npm install,只想用script引入,还如果你虽然那么多事,仍然需要代码提示,好吧,那你就和我一样,往下看吧。 首先,你要装typings。自己上typings的查阅安装指南。本文只说全局,不说细节。 typings是干嘛的?他是提示类型的,他需要在类型文件的帮助下干这个事情。类型文件typescript的开发者学雷锋,很多库都有。那么我们需要把他们download下来。 一种方法是n原创 2021-02-05 11:18:45 · 997 阅读 · 0 评论