Skip to content

Commit

Permalink
Create Math.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed May 20, 2022
1 parent 66c071e commit b6b1049
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/mj/Math.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Math

```js
const vec3 = new Vector3();
const quat = new Quaternion();
vec3.applyQuaternion(quat);
```
本质是用四元数对向量进行旋转,即q'Vq

0 comments on commit b6b1049

Please sign in to comment.