提交 42b0d7e0 编写于 作者: M Mikael Emtinger

Removed n.X4 = eye.xyz from lookAt

上级 4ecbd085
......@@ -90,9 +90,9 @@ THREE.Matrix4.prototype = {
y.cross( z, x ).normalize();
this.n11 = x.x; this.n12 = y.x; this.n13 = z.x; this.n14 = eye.x;
this.n21 = x.y; this.n22 = y.y; this.n23 = z.y; this.n24 = eye.y;
this.n31 = x.z; this.n32 = y.z; this.n33 = z.z; this.n34 = eye.z;
this.n11 = x.x; this.n12 = y.x; this.n13 = z.x;
this.n21 = x.y; this.n22 = y.y; this.n23 = z.y;
this.n31 = x.z; this.n32 = y.z; this.n33 = z.z;
return this;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册