Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
dd055895
T
three.js
项目概览
车家大少爷
/
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,发现更多精彩内容 >>
提交
dd055895
编写于
10月 08, 2019
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated builds.
上级
dc9a4483
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
61 addition
and
51 deletion
+61
-51
build/three.js
build/three.js
+11
-6
build/three.min.js
build/three.min.js
+39
-39
build/three.module.js
build/three.module.js
+11
-6
未找到文件。
build/three.js
浏览文件 @
dd055895
...
...
@@ -19673,9 +19673,9 @@
}
function getDepthMaterialVariant( useMorphing, useSkinning ) {
function getDepthMaterialVariant( useMorphing, useSkinning
, useInstancing
) {
var index = useMorphing << 0 | useSkinning << 1;
var index = useMorphing << 0 | useSkinning << 1
| useInstancing << 2
;
var material = _depthMaterials[ index ];
...
...
@@ -19698,9 +19698,9 @@
}
function getDistanceMaterialVariant( useMorphing, useSkinning ) {
function getDistanceMaterialVariant( useMorphing, useSkinning
, useInstancing
) {
var index = useMorphing << 0 | useSkinning << 1;
var index = useMorphing << 0 | useSkinning << 1
| useInstancing << 2
;
var material = _distanceMaterials[ index ];
...
...
@@ -19771,7 +19771,9 @@
}
result = getMaterialVariant( useMorphing, useSkinning );
var useInstancing = object.isInstancedMesh === true;
result = getMaterialVariant( useMorphing, useSkinning, useInstancing );
} else {
...
...
@@ -23700,7 +23702,7 @@
// vr
var vr = ( typeof navigator !== 'undefined' && 'xr' in navigator && '
supportsSession
' in navigator.xr ) ? new WebXRManager( _this, _gl ) : new WebVRManager( _this );
var vr = ( typeof navigator !== 'undefined' && 'xr' in navigator && '
isSessionSupported
' in navigator.xr ) ? new WebXRManager( _this, _gl ) : new WebVRManager( _this );
this.vr = vr;
...
...
@@ -32357,6 +32359,7 @@
var Geometries = /*#__PURE__*/Object.freeze({
__proto__: null,
WireframeGeometry: WireframeGeometry,
ParametricGeometry: ParametricGeometry,
ParametricBufferGeometry: ParametricBufferGeometry,
...
...
@@ -33270,6 +33273,7 @@
var Materials = /*#__PURE__*/Object.freeze({
__proto__: null,
ShadowMaterial: ShadowMaterial,
SpriteMaterial: SpriteMaterial,
RawShaderMaterial: RawShaderMaterial,
...
...
@@ -37504,6 +37508,7 @@
var Curves = /*#__PURE__*/Object.freeze({
__proto__: null,
ArcCurve: ArcCurve,
CatmullRomCurve3: CatmullRomCurve3,
CubicBezierCurve: CubicBezierCurve,
build/three.min.js
浏览文件 @
dd055895
此差异已折叠。
点击以展开。
build/three.module.js
浏览文件 @
dd055895
...
...
@@ -19660,9 +19660,9 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
}
function getDepthMaterialVariant( useMorphing, useSkinning ) {
function getDepthMaterialVariant( useMorphing, useSkinning
, useInstancing
) {
var index = useMorphing << 0 | useSkinning << 1;
var index = useMorphing << 0 | useSkinning << 1
| useInstancing << 2
;
var material = _depthMaterials[ index ];
...
...
@@ -19685,9 +19685,9 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
}
function getDistanceMaterialVariant( useMorphing, useSkinning ) {
function getDistanceMaterialVariant( useMorphing, useSkinning
, useInstancing
) {
var index = useMorphing << 0 | useSkinning << 1;
var index = useMorphing << 0 | useSkinning << 1
| useInstancing << 2
;
var material = _distanceMaterials[ index ];
...
...
@@ -19758,7 +19758,9 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
}
result = getMaterialVariant( useMorphing, useSkinning );
var useInstancing = object.isInstancedMesh === true;
result = getMaterialVariant( useMorphing, useSkinning, useInstancing );
} else {
...
...
@@ -23687,7 +23689,7 @@ function WebGLRenderer( parameters ) {
// vr
var vr = ( typeof navigator !== 'undefined' && 'xr' in navigator && '
supportsSession
' in navigator.xr ) ? new WebXRManager( _this, _gl ) : new WebVRManager( _this );
var vr = ( typeof navigator !== 'undefined' && 'xr' in navigator && '
isSessionSupported
' in navigator.xr ) ? new WebXRManager( _this, _gl ) : new WebVRManager( _this );
this.vr = vr;
...
...
@@ -32344,6 +32346,7 @@ CircleBufferGeometry.prototype.constructor = CircleBufferGeometry;
var Geometries = /*#__PURE__*/Object.freeze({
__proto__: null,
WireframeGeometry: WireframeGeometry,
ParametricGeometry: ParametricGeometry,
ParametricBufferGeometry: ParametricBufferGeometry,
...
...
@@ -33257,6 +33260,7 @@ LineDashedMaterial.prototype.copy = function ( source ) {
var Materials = /*#__PURE__*/Object.freeze({
__proto__: null,
ShadowMaterial: ShadowMaterial,
SpriteMaterial: SpriteMaterial,
RawShaderMaterial: RawShaderMaterial,
...
...
@@ -37491,6 +37495,7 @@ SplineCurve.prototype.fromJSON = function ( json ) {
var Curves = /*#__PURE__*/Object.freeze({
__proto__: null,
ArcCurve: ArcCurve,
CatmullRomCurve3: CatmullRomCurve3,
CubicBezierCurve: CubicBezierCurve,
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录