Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
d0153596
T
three.js
项目概览
Ablesons
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d0153596
编写于
9月 02, 2020
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated builds.
上级
01de5bc6
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
605 addition
and
614 deletion
+605
-614
build/three.js
build/three.js
+30
-35
build/three.min.js
build/three.min.js
+544
-544
build/three.module.js
build/three.module.js
+31
-35
未找到文件。
build/three.js
浏览文件 @
d0153596
...
...
@@ -40593,15 +40593,14 @@
function ObjectLoader( manager ) {
Loader.call( this, manager );
}
Loader.call( this, manager );
ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
}
constructor: ObjectLoader,
ObjectLoader.prototype = Object.create( Loader.prototype );
ObjectLoader.prototype.constructor = ObjectLoader;
load: function
( url, onLoad, onProgress, onError ) {
ObjectLoader.prototype.load = function load
( url, onLoad, onProgress, onError ) {
var scope = this;
...
...
@@ -40642,9 +40641,9 @@
}, onProgress, onError );
}
,
}
;
parse: function
( json, onLoad ) {
ObjectLoader.prototype.parse = function parse
( json, onLoad ) {
var shapes = this.parseShape( json.shapes );
var geometries = this.parseGeometries( json.geometries, shapes );
...
...
@@ -40674,9 +40673,9 @@
return object;
}
,
}
;
parseShape: function
( json ) {
ObjectLoader.prototype.parseShape = function parseShape
( json ) {
var shapes = {};
...
...
@@ -40694,9 +40693,9 @@
return shapes;
}
,
}
;
parseGeometries: function
( json, shapes ) {
ObjectLoader.prototype.parseGeometries = function parseGeometries
( json, shapes ) {
var geometries = {};
var geometryShapes;
...
...
@@ -40976,9 +40975,9 @@
return geometries;
}
,
}
;
parseMaterials: function
( json, textures ) {
ObjectLoader.prototype.parseMaterials = function parseMaterials
( json, textures ) {
var cache = {}; // MultiMaterial
var materials = {};
...
...
@@ -41032,9 +41031,9 @@
return materials;
}
,
}
;
parseAnimations: function
( json ) {
ObjectLoader.prototype.parseAnimations = function parseAnimations
( json ) {
var animations = [];
...
...
@@ -41052,9 +41051,9 @@
return animations;
}
,
}
;
parseImages: function
( json, onLoad ) {
ObjectLoader.prototype.parseImages = function parseImages
( json, onLoad ) {
var scope = this;
var images = {};
...
...
@@ -41122,9 +41121,9 @@
return images;
}
,
}
;
parseTextures: function
( json, images ) {
ObjectLoader.prototype.parseTextures = function parseTextures
( json, images ) {
function parseConstant( value, type ) {
...
...
@@ -41209,9 +41208,9 @@
return textures;
}
,
}
;
parseObject: function
( data, geometries, materials ) {
ObjectLoader.prototype.parseObject = function parseObject
( data, geometries, materials ) {
var object;
...
...
@@ -41508,9 +41507,16 @@
return object;
}
}
;
} );
/* DEPRECATED */
ObjectLoader.prototype.setTexturePath = function setTexturePath ( value ) {
console.warn( 'THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().' );
return this.setResourcePath( value );
};
var TEXTURE_MAPPING = {
UVMapping: UVMapping,
...
...
@@ -48831,17 +48837,6 @@
}
Object.assign( ObjectLoader.prototype, {
setTexturePath: function ( value ) {
console.warn( 'THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().' );
return this.setResourcePath( value );
}
} );
//
Object.assign( Box2.prototype, {
build/three.min.js
浏览文件 @
d0153596
此差异已折叠。
点击以展开。
build/three.module.js
浏览文件 @
d0153596
...
...
@@ -40697,17 +40697,15 @@ const TYPED_ARRAYS = {
Float64Array: Float64Array
};
function ObjectLoader( manager )
{
class ObjectLoader extends Loader
{
Loader.call( this, manager );
}
constructor( manager ) {
ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
super( manager );
constructor: ObjectLoader,
}
load
: function
( url, onLoad, onProgress, onError ) {
load( url, onLoad, onProgress, onError ) {
const scope = this;
...
...
@@ -40748,9 +40746,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
}, onProgress, onError );
}
,
}
parse
: function
( json, onLoad ) {
parse( json, onLoad ) {
const shapes = this.parseShape( json.shapes );
const geometries = this.parseGeometries( json.geometries, shapes );
...
...
@@ -40780,9 +40778,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
return object;
}
,
}
parseShape
: function
( json ) {
parseShape( json ) {
const shapes = {};
...
...
@@ -40800,9 +40798,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
return shapes;
}
,
}
parseGeometries
: function
( json, shapes ) {
parseGeometries( json, shapes ) {
const geometries = {};
let geometryShapes;
...
...
@@ -41082,9 +41080,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
return geometries;
}
,
}
parseMaterials
: function
( json, textures ) {
parseMaterials( json, textures ) {
const cache = {}; // MultiMaterial
const materials = {};
...
...
@@ -41138,9 +41136,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
return materials;
}
,
}
parseAnimations
: function
( json ) {
parseAnimations( json ) {
const animations = [];
...
...
@@ -41158,9 +41156,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
return animations;
}
,
}
parseImages
: function
( json, onLoad ) {
parseImages( json, onLoad ) {
const scope = this;
const images = {};
...
...
@@ -41228,9 +41226,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
return images;
}
,
}
parseTextures
: function
( json, images ) {
parseTextures( json, images ) {
function parseConstant( value, type ) {
...
...
@@ -41315,9 +41313,9 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
return textures;
}
,
}
parseObject
: function
( data, geometries, materials ) {
parseObject( data, geometries, materials ) {
let object;
...
...
@@ -41616,7 +41614,16 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
}
} );
/* DEPRECATED */
setTexturePath( value ) {
console.warn( 'THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().' );
return this.setResourcePath( value );
}
}
const TEXTURE_MAPPING = {
UVMapping: UVMapping,
...
...
@@ -49232,17 +49239,6 @@ function BinaryTextureLoader( manager ) {
}
Object.assign( ObjectLoader.prototype, {
setTexturePath: function ( value ) {
console.warn( 'THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().' );
return this.setResourcePath( value );
}
} );
//
Object.assign( Box2.prototype, {
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录