mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-20 18:35:58 +10:00
oops - fixed but in setRotX
This commit is contained in:
+1
-1
@@ -306,7 +306,7 @@ THREE.Matrix4.prototype = {
|
||||
|
||||
setRotX: function( theta ) {
|
||||
var c = Math.cos( theta ), s = Math.sin( theta );
|
||||
this.set( 1, 0, 0, 0, 0, c, -s, 0, 0, c, s, 0, 0, 0, 0, 1 );
|
||||
this.set( 1, 0, 0, 0, 0, c, -s, 0, 0, s, c, 0, 0, 0, 0, 1 );
|
||||
return this;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user