mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 13:06:01 +10:00
Matrix4.lookAt now initializes W row (omitted previously).
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ THREE.Matrix4.prototype = {
|
||||
this.n11 = x.x; this.n12 = x.y; this.n13 = x.z; this.n14 = - x.dot( eye );
|
||||
this.n21 = y.x; this.n22 = y.y; this.n23 = y.z; this.n24 = - y.dot( eye );
|
||||
this.n31 = z.x; this.n32 = z.y; this.n33 = z.z; this.n34 = - z.dot( eye );
|
||||
|
||||
this.n41 = 0; this.n42 = 0; this.n43 = 0; this.n44 = 1;
|
||||
},
|
||||
|
||||
transform: function ( v ) {
|
||||
|
||||
Reference in New Issue
Block a user