mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Matrix4:
- Wrong in last commit, now the inversion of position is removed
This commit is contained in:
+3
-3
@@ -81,9 +81,9 @@ THREE.Matrix4.prototype = {
|
||||
this.n41 = 0; this.n42 = 0; this.n43 = 0; this.n44 = 1;
|
||||
*/
|
||||
|
||||
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.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;
|
||||
|
||||
return this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user