소스 검색

Updated builds.

Mr.doob 7 년 전
부모
커밋
23d0e6c71c
3개의 변경된 파일127개의 추가작업 그리고 115개의 파일을 삭제
  1. 10 4
      build/three.js
  2. 107 107
      build/three.min.js
  3. 10 4
      build/three.module.js

+ 10 - 4
build/three.js

@@ -2296,6 +2296,12 @@
 
 		}(),
 
+		angleTo: function ( q ) {
+
+			return 2 * Math.acos( Math.abs( this.dot( q ) ) );
+
+		},
+
 		inverse: function () {
 
 			// quaternion is assumed to have unit length
@@ -22108,17 +22114,17 @@
 
 		// Buffer rendering
 
-		function renderObjectImmediate( object, program, material ) {
+		function renderObjectImmediate( object, program ) {
 
 			object.render( function ( object ) {
 
-				_this.renderBufferImmediate( object, program, material );
+				_this.renderBufferImmediate( object, program );
 
 			} );
 
 		}
 
-		this.renderBufferImmediate = function ( object, program, material ) {
+		this.renderBufferImmediate = function ( object, program ) {
 
 			state.initAttributes();
 
@@ -22933,7 +22939,7 @@
 
 				_currentGeometryProgram = '';
 
-				renderObjectImmediate( object, program, material );
+				renderObjectImmediate( object, program );
 
 			} else {
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 107 - 107
build/three.min.js


+ 10 - 4
build/three.module.js

@@ -2290,6 +2290,12 @@ Object.assign( Quaternion.prototype, {
 
 	}(),
 
+	angleTo: function ( q ) {
+
+		return 2 * Math.acos( Math.abs( this.dot( q ) ) );
+
+	},
+
 	inverse: function () {
 
 		// quaternion is assumed to have unit length
@@ -22102,17 +22108,17 @@ function WebGLRenderer( parameters ) {
 
 	// Buffer rendering
 
-	function renderObjectImmediate( object, program, material ) {
+	function renderObjectImmediate( object, program ) {
 
 		object.render( function ( object ) {
 
-			_this.renderBufferImmediate( object, program, material );
+			_this.renderBufferImmediate( object, program );
 
 		} );
 
 	}
 
-	this.renderBufferImmediate = function ( object, program, material ) {
+	this.renderBufferImmediate = function ( object, program ) {
 
 		state.initAttributes();
 
@@ -22927,7 +22933,7 @@ function WebGLRenderer( parameters ) {
 
 			_currentGeometryProgram = '';
 
-			renderObjectImmediate( object, program, material );
+			renderObjectImmediate( object, program );
 
 		} else {
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.