提交 d8b3380c 编写于 作者: M Mr.doob

Matrix4: Avoid using quaternion getters in makeRotationFromQuaternion().

上级 e5dadc4f
......@@ -282,7 +282,7 @@ Object.assign( Matrix4.prototype, {
var te = this.elements;
var x = q.x, y = q.y, z = q.z, w = q.w;
var x = q._x, y = q._y, z = q._z, w = q._w;
var x2 = x + x, y2 = y + y, z2 = z + z;
var xx = x * x2, xy = x * y2, xz = x * z2;
var yy = y * y2, yz = y * z2, zz = z * z2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册