Browse Source

oops - fixed but in setRotX

astrodud 14 years ago
parent
commit
d8f6d06edf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/Matrix4.js

+ 1 - 1
src/core/Matrix4.js

@@ -306,7 +306,7 @@ THREE.Matrix4.prototype = {
 
 
 	setRotX: function( theta ) {
 	setRotX: function( theta ) {
                  var c = Math.cos( theta ), s = Math.sin( 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;
 		 return this;
         },
         },