Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
bf754133
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,发现更多精彩内容 >>
提交
bf754133
编写于
1月 25, 2017
作者:
M
Mr.doob
提交者:
GitHub
1月 25, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #10648 from TristanVALCKE/NormalizeObjectAssign
Normalize object assign
上级
921824d5
22e6b5bc
变更
52
隐藏空白更改
内联
并排
Showing
52 changed file
with
17 addition
and
114 deletion
+17
-114
src/animation/AnimationAction.js
src/animation/AnimationAction.js
+0
-2
src/animation/AnimationClip.js
src/animation/AnimationClip.js
+0
-2
src/animation/AnimationMixer.js
src/animation/AnimationMixer.js
+0
-2
src/animation/AnimationObjectGroup.js
src/animation/AnimationObjectGroup.js
+0
-2
src/animation/PropertyBinding.js
src/animation/PropertyBinding.js
+0
-4
src/animation/PropertyMixer.js
src/animation/PropertyMixer.js
+0
-2
src/audio/Audio.js
src/audio/Audio.js
+1
-2
src/core/BufferAttribute.js
src/core/BufferAttribute.js
+0
-8
src/core/BufferGeometry.js
src/core/BufferGeometry.js
+0
-2
src/core/Clock.js
src/core/Clock.js
+0
-2
src/core/Face3.js
src/core/Face3.js
+0
-2
src/core/Geometry.js
src/core/Geometry.js
+0
-2
src/core/InterleavedBuffer.js
src/core/InterleavedBuffer.js
+0
-2
src/core/InterleavedBufferAttribute.js
src/core/InterleavedBufferAttribute.js
+0
-2
src/core/Layers.js
src/core/Layers.js
+0
-2
src/core/Object3D.js
src/core/Object3D.js
+0
-2
src/core/Raycaster.js
src/core/Raycaster.js
+0
-2
src/extras/core/Curve.js
src/extras/core/Curve.js
+0
-2
src/loaders/Loader.js
src/loaders/Loader.js
+0
-2
src/materials/Material.js
src/materials/Material.js
+0
-2
src/materials/MultiMaterial.js
src/materials/MultiMaterial.js
+0
-2
src/math/Box2.js
src/math/Box2.js
+0
-2
src/math/Box3.js
src/math/Box3.js
+0
-2
src/math/Color.js
src/math/Color.js
+0
-2
src/math/Cylindrical.js
src/math/Cylindrical.js
+0
-2
src/math/Euler.js
src/math/Euler.js
+0
-2
src/math/Frustum.js
src/math/Frustum.js
+0
-2
src/math/Interpolant.js
src/math/Interpolant.js
+0
-2
src/math/Line3.js
src/math/Line3.js
+0
-2
src/math/Matrix3.js
src/math/Matrix3.js
+0
-2
src/math/Matrix4.js
src/math/Matrix4.js
+0
-2
src/math/Plane.js
src/math/Plane.js
+0
-2
src/math/Quaternion.js
src/math/Quaternion.js
+0
-2
src/math/Ray.js
src/math/Ray.js
+0
-2
src/math/Sphere.js
src/math/Sphere.js
+0
-2
src/math/Spherical.js
src/math/Spherical.js
+0
-2
src/math/Triangle.js
src/math/Triangle.js
+0
-2
src/math/Vector2.js
src/math/Vector2.js
+0
-2
src/math/Vector3.js
src/math/Vector3.js
+0
-2
src/math/Vector4.js
src/math/Vector4.js
+0
-2
src/math/interpolants/CubicInterpolant.js
src/math/interpolants/CubicInterpolant.js
+2
-4
src/math/interpolants/DiscreteInterpolant.js
src/math/interpolants/DiscreteInterpolant.js
+3
-6
src/math/interpolants/LinearInterpolant.js
src/math/interpolants/LinearInterpolant.js
+3
-6
src/math/interpolants/QuaternionLinearInterpolant.js
src/math/interpolants/QuaternionLinearInterpolant.js
+3
-6
src/objects/LOD.js
src/objects/LOD.js
+0
-1
src/objects/SkinnedMesh.js
src/objects/SkinnedMesh.js
+0
-1
src/renderers/WebGL2Renderer.js
src/renderers/WebGL2Renderer.js
+1
-0
src/renderers/WebGLRenderTarget.js
src/renderers/WebGLRenderTarget.js
+0
-2
src/renderers/WebGLRenderer.js
src/renderers/WebGLRenderer.js
+1
-0
src/renderers/webgl/WebGLClipping.js
src/renderers/webgl/WebGLClipping.js
+1
-0
src/renderers/webgl/WebGLProperties.js
src/renderers/webgl/WebGLProperties.js
+1
-0
src/renderers/webgl/WebGLShader.js
src/renderers/webgl/WebGLShader.js
+1
-0
未找到文件。
src/animation/AnimationAction.js
浏览文件 @
bf754133
...
...
@@ -78,8 +78,6 @@ function AnimationAction( mixer, clip, localRoot ) {
Object
.
assign
(
AnimationAction
.
prototype
,
{
constructor
:
AnimationAction
,
// State & Scheduling
play
:
function
()
{
...
...
src/animation/AnimationClip.js
浏览文件 @
bf754133
...
...
@@ -310,8 +310,6 @@ Object.assign( AnimationClip, {
Object
.
assign
(
AnimationClip
.
prototype
,
{
constructor
:
AnimationClip
,
resetDuration
:
function
()
{
var
tracks
=
this
.
tracks
,
...
...
src/animation/AnimationMixer.js
浏览文件 @
bf754133
...
...
@@ -29,8 +29,6 @@ function AnimationMixer( root ) {
Object
.
assign
(
AnimationMixer
.
prototype
,
EventDispatcher
.
prototype
,
{
constructor
:
AnimationMixer
,
_bindAction
:
function
(
action
,
prototypeAction
)
{
var
root
=
action
.
_localRoot
||
this
.
_root
,
...
...
src/animation/AnimationObjectGroup.js
浏览文件 @
bf754133
...
...
@@ -73,8 +73,6 @@ function AnimationObjectGroup( var_args ) {
Object
.
assign
(
AnimationObjectGroup
.
prototype
,
{
constructor
:
AnimationObjectGroup
,
isAnimationObjectGroup
:
true
,
add
:
function
(
var_args
)
{
...
...
src/animation/PropertyBinding.js
浏览文件 @
bf754133
...
...
@@ -19,8 +19,6 @@ function Composite ( targetGroup, path, optionalParsedPath ) {
Object
.
assign
(
Composite
.
prototype
,
{
constructor
:
Composite
,
getValue
:
function
(
array
,
offset
)
{
this
.
bind
();
// bind all binding
...
...
@@ -226,8 +224,6 @@ Object.assign( PropertyBinding, {
Object
.
assign
(
PropertyBinding
.
prototype
,
{
// prototype, continued
constructor
:
PropertyBinding
,
// these are used to "bind" a nonexistent property
_getValue_unavailable
:
function
()
{},
_setValue_unavailable
:
function
()
{},
...
...
src/animation/PropertyMixer.js
浏览文件 @
bf754133
...
...
@@ -58,8 +58,6 @@ function PropertyMixer( binding, typeName, valueSize ) {
Object
.
assign
(
PropertyMixer
.
prototype
,
{
constructor
:
PropertyMixer
,
// accumulate data in the 'incoming' region into 'accu<i>'
accumulate
:
function
(
accuIndex
,
weight
)
{
...
...
src/audio/Audio.js
浏览文件 @
bf754133
...
...
@@ -286,8 +286,7 @@ Audio.prototype = Object.assign( Object.create( Object3D.prototype ), {
return
this
.
gain
.
gain
.
value
;
},
setVolume
:
function
(
value
)
{
this
.
gain
.
gain
.
value
=
value
;
...
...
src/core/BufferAttribute.js
浏览文件 @
bf754133
...
...
@@ -44,16 +44,8 @@ Object.defineProperty( BufferAttribute.prototype, "needsUpdate", {
Object
.
assign
(
BufferAttribute
.
prototype
,
{
constructor
:
BufferAttribute
,
isBufferAttribute
:
true
,
set
needsUpdate
(
value
)
{
if
(
value
===
true
)
this
.
version
++
;
},
setArray
:
function
(
array
)
{
if
(
Array
.
isArray
(
array
)
)
{
...
...
src/core/BufferGeometry.js
浏览文件 @
bf754133
...
...
@@ -43,8 +43,6 @@ BufferGeometry.MaxIndex = 65535;
Object
.
assign
(
BufferGeometry
.
prototype
,
EventDispatcher
.
prototype
,
{
constructor
:
BufferGeometry
,
isBufferGeometry
:
true
,
getIndex
:
function
()
{
...
...
src/core/Clock.js
浏览文件 @
bf754133
...
...
@@ -16,8 +16,6 @@ function Clock( autoStart ) {
Object
.
assign
(
Clock
.
prototype
,
{
constructor
:
Clock
,
start
:
function
()
{
this
.
startTime
=
(
performance
||
Date
).
now
();
...
...
src/core/Face3.js
浏览文件 @
bf754133
...
...
@@ -24,8 +24,6 @@ function Face3( a, b, c, normal, color, materialIndex ) {
Object
.
assign
(
Face3
.
prototype
,
{
constructor
:
Face3
,
clone
:
function
()
{
return
new
this
.
constructor
().
copy
(
this
);
...
...
src/core/Geometry.js
浏览文件 @
bf754133
...
...
@@ -61,8 +61,6 @@ function Geometry() {
Object
.
assign
(
Geometry
.
prototype
,
EventDispatcher
.
prototype
,
{
constructor
:
Geometry
,
isGeometry
:
true
,
applyMatrix
:
function
(
matrix
)
{
...
...
src/core/InterleavedBuffer.js
浏览文件 @
bf754133
...
...
@@ -33,8 +33,6 @@ Object.defineProperty( InterleavedBuffer.prototype, "needsUpdate", {
Object
.
assign
(
InterleavedBuffer
.
prototype
,
{
constructor
:
InterleavedBuffer
,
isInterleavedBuffer
:
true
,
setArray
:
function
(
array
)
{
...
...
src/core/InterleavedBufferAttribute.js
浏览文件 @
bf754133
...
...
@@ -42,8 +42,6 @@ Object.defineProperties( InterleavedBufferAttribute.prototype, {
Object
.
assign
(
InterleavedBufferAttribute
.
prototype
,
{
constructor
:
InterleavedBufferAttribute
,
isInterleavedBufferAttribute
:
true
,
setX
:
function
(
index
,
x
)
{
...
...
src/core/Layers.js
浏览文件 @
bf754133
...
...
@@ -10,8 +10,6 @@ function Layers() {
Object
.
assign
(
Layers
.
prototype
,
{
constructor
:
Layers
,
set
:
function
(
channel
)
{
this
.
mask
=
1
<<
channel
;
...
...
src/core/Object3D.js
浏览文件 @
bf754133
...
...
@@ -103,8 +103,6 @@ Object3D.DefaultMatrixAutoUpdate = true;
Object
.
assign
(
Object3D
.
prototype
,
EventDispatcher
.
prototype
,
{
constructor
:
Object3D
,
isObject3D
:
true
,
applyMatrix
:
function
(
matrix
)
{
...
...
src/core/Raycaster.js
浏览文件 @
bf754133
...
...
@@ -61,8 +61,6 @@ function intersectObject( object, raycaster, intersects, recursive ) {
Object
.
assign
(
Raycaster
.
prototype
,
{
constructor
:
Raycaster
,
linePrecision
:
1
,
set
:
function
(
origin
,
direction
)
{
...
...
src/extras/core/Curve.js
浏览文件 @
bf754133
...
...
@@ -41,8 +41,6 @@ function Curve() {}
Object
.
assign
(
Curve
.
prototype
,
{
constructor
:
Curve
,
// Virtual base class method to overwrite and implement in subclasses
// - t [0 .. 1]
...
...
src/loaders/Loader.js
浏览文件 @
bf754133
...
...
@@ -67,8 +67,6 @@ Loader.Handlers = {
Object
.
assign
(
Loader
.
prototype
,
{
constructor
:
Loader
,
crossOrigin
:
undefined
,
extractUrlBase
:
function
(
url
)
{
...
...
src/materials/Material.js
浏览文件 @
bf754133
...
...
@@ -82,8 +82,6 @@ Object.defineProperty( Material.prototype, "needsUpdate", {
Object
.
assign
(
Material
.
prototype
,
EventDispatcher
.
prototype
,
{
constructor
:
Material
,
isMaterial
:
true
,
setValues
:
function
(
values
)
{
...
...
src/materials/MultiMaterial.js
浏览文件 @
bf754133
...
...
@@ -18,8 +18,6 @@ function MultiMaterial( materials ) {
Object
.
assign
(
MultiMaterial
.
prototype
,
{
constructor
:
MultiMaterial
,
isMultiMaterial
:
true
,
toJSON
:
function
(
meta
)
{
...
...
src/math/Box2.js
浏览文件 @
bf754133
...
...
@@ -13,8 +13,6 @@ function Box2( min, max ) {
Object
.
assign
(
Box2
.
prototype
,
{
constructor
:
Box2
,
set
:
function
(
min
,
max
)
{
this
.
min
.
copy
(
min
);
...
...
src/math/Box3.js
浏览文件 @
bf754133
...
...
@@ -15,8 +15,6 @@ function Box3( min, max ) {
Object
.
assign
(
Box3
.
prototype
,
{
constructor
:
Box3
,
isBox3
:
true
,
set
:
function
(
min
,
max
)
{
...
...
src/math/Color.js
浏览文件 @
bf754133
...
...
@@ -44,8 +44,6 @@ function Color( r, g, b ) {
Object
.
assign
(
Color
.
prototype
,
{
constructor
:
Color
,
isColor
:
true
,
r
:
1
,
g
:
1
,
b
:
1
,
...
...
src/math/Cylindrical.js
浏览文件 @
bf754133
...
...
@@ -17,8 +17,6 @@ function Cylindrical( radius, theta, y ) {
Object
.
assign
(
Cylindrical
.
prototype
,
{
constructor
:
Cylindrical
,
set
:
function
(
radius
,
theta
,
y
)
{
this
.
radius
=
radius
;
...
...
src/math/Euler.js
浏览文件 @
bf754133
...
...
@@ -96,8 +96,6 @@ Object.defineProperties( Euler.prototype, {
Object
.
assign
(
Euler
.
prototype
,
{
constructor
:
Euler
,
isEuler
:
true
,
set
:
function
(
x
,
y
,
z
,
order
)
{
...
...
src/math/Frustum.js
浏览文件 @
bf754133
...
...
@@ -25,8 +25,6 @@ function Frustum( p0, p1, p2, p3, p4, p5 ) {
Object
.
assign
(
Frustum
.
prototype
,
{
constructor
:
Frustum
,
set
:
function
(
p0
,
p1
,
p2
,
p3
,
p4
,
p5
)
{
var
planes
=
this
.
planes
;
...
...
src/math/Interpolant.js
浏览文件 @
bf754133
...
...
@@ -34,8 +34,6 @@ function Interpolant( parameterPositions, sampleValues, sampleSize, resultBuffer
Object
.
assign
(
Interpolant
.
prototype
,
{
constructor
:
Interpolant
,
evaluate
:
function
(
t
)
{
var
pp
=
this
.
parameterPositions
,
...
...
src/math/Line3.js
浏览文件 @
bf754133
...
...
@@ -14,8 +14,6 @@ function Line3( start, end ) {
Object
.
assign
(
Line3
.
prototype
,
{
constructor
:
Line3
,
set
:
function
(
start
,
end
)
{
this
.
start
.
copy
(
start
);
...
...
src/math/Matrix3.js
浏览文件 @
bf754133
...
...
@@ -27,8 +27,6 @@ function Matrix3() {
Object
.
assign
(
Matrix3
.
prototype
,
{
constructor
:
Matrix3
,
isMatrix3
:
true
,
set
:
function
(
n11
,
n12
,
n13
,
n21
,
n22
,
n23
,
n31
,
n32
,
n33
)
{
...
...
src/math/Matrix4.js
浏览文件 @
bf754133
...
...
@@ -35,8 +35,6 @@ function Matrix4() {
Object
.
assign
(
Matrix4
.
prototype
,
{
constructor
:
Matrix4
,
isMatrix4
:
true
,
set
:
function
(
n11
,
n12
,
n13
,
n14
,
n21
,
n22
,
n23
,
n24
,
n31
,
n32
,
n33
,
n34
,
n41
,
n42
,
n43
,
n44
)
{
...
...
src/math/Plane.js
浏览文件 @
bf754133
...
...
@@ -14,8 +14,6 @@ function Plane( normal, constant ) {
Object
.
assign
(
Plane
.
prototype
,
{
constructor
:
Plane
,
set
:
function
(
normal
,
constant
)
{
this
.
normal
.
copy
(
normal
);
...
...
src/math/Quaternion.js
浏览文件 @
bf754133
...
...
@@ -163,8 +163,6 @@ Object.defineProperties( Quaternion.prototype, {
Object
.
assign
(
Quaternion
.
prototype
,
{
constructor
:
Quaternion
,
set
:
function
(
x
,
y
,
z
,
w
)
{
this
.
_x
=
x
;
...
...
src/math/Ray.js
浏览文件 @
bf754133
...
...
@@ -13,8 +13,6 @@ function Ray( origin, direction ) {
Object
.
assign
(
Ray
.
prototype
,
{
constructor
:
Ray
,
set
:
function
(
origin
,
direction
)
{
this
.
origin
.
copy
(
origin
);
...
...
src/math/Sphere.js
浏览文件 @
bf754133
...
...
@@ -15,8 +15,6 @@ function Sphere( center, radius ) {
Object
.
assign
(
Sphere
.
prototype
,
{
constructor
:
Sphere
,
set
:
function
(
center
,
radius
)
{
this
.
center
.
copy
(
center
);
...
...
src/math/Spherical.js
浏览文件 @
bf754133
...
...
@@ -22,8 +22,6 @@ function Spherical( radius, phi, theta ) {
Object
.
assign
(
Spherical
.
prototype
,
{
constructor
:
Spherical
,
set
:
function
(
radius
,
phi
,
theta
)
{
this
.
radius
=
radius
;
...
...
src/math/Triangle.js
浏览文件 @
bf754133
...
...
@@ -104,8 +104,6 @@ Object.assign( Triangle, {
Object
.
assign
(
Triangle
.
prototype
,
{
constructor
:
Triangle
,
set
:
function
(
a
,
b
,
c
)
{
this
.
a
.
copy
(
a
);
...
...
src/math/Vector2.js
浏览文件 @
bf754133
...
...
@@ -50,8 +50,6 @@ Object.defineProperties( Vector2.prototype, {
Object
.
assign
(
Vector2
.
prototype
,
{
constructor
:
Vector2
,
isVector2
:
true
,
set
:
function
(
x
,
y
)
{
...
...
src/math/Vector3.js
浏览文件 @
bf754133
...
...
@@ -21,8 +21,6 @@ function Vector3( x, y, z ) {
Object
.
assign
(
Vector3
.
prototype
,
{
constructor
:
Vector3
,
isVector3
:
true
,
set
:
function
(
x
,
y
,
z
)
{
...
...
src/math/Vector4.js
浏览文件 @
bf754133
...
...
@@ -17,8 +17,6 @@ function Vector4( x, y, z, w ) {
Object
.
assign
(
Vector4
.
prototype
,
{
constructor
:
Vector4
,
isVector4
:
true
,
set
:
function
(
x
,
y
,
z
,
w
)
{
...
...
src/math/interpolants/CubicInterpolant.js
浏览文件 @
bf754133
...
...
@@ -12,8 +12,7 @@ import { WrapAroundEnding, ZeroSlopeEnding } from '../../constants';
* @author tschw
*/
function
CubicInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
function
CubicInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
Interpolant
.
call
(
this
,
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
);
...
...
@@ -25,8 +24,7 @@ function CubicInterpolant(
}
CubicInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
CubicInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
constructor
:
CubicInterpolant
,
...
...
src/math/interpolants/DiscreteInterpolant.js
浏览文件 @
bf754133
...
...
@@ -8,16 +8,13 @@ import { Interpolant } from '../Interpolant';
* @author tschw
*/
function
DiscreteInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
function
DiscreteInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
Interpolant
.
call
(
this
,
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
);
Interpolant
.
call
(
this
,
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
);
}
DiscreteInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
DiscreteInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
constructor
:
DiscreteInterpolant
,
...
...
src/math/interpolants/LinearInterpolant.js
浏览文件 @
bf754133
...
...
@@ -4,16 +4,13 @@ import { Interpolant } from '../Interpolant';
* @author tschw
*/
function
LinearInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
function
LinearInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
Interpolant
.
call
(
this
,
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
);
Interpolant
.
call
(
this
,
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
);
}
LinearInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
LinearInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
constructor
:
LinearInterpolant
,
...
...
src/math/interpolants/QuaternionLinearInterpolant.js
浏览文件 @
bf754133
...
...
@@ -7,16 +7,13 @@ import { Quaternion } from '../Quaternion';
* @author tschw
*/
function
QuaternionLinearInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
function
QuaternionLinearInterpolant
(
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
)
{
Interpolant
.
call
(
this
,
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
);
Interpolant
.
call
(
this
,
parameterPositions
,
sampleValues
,
sampleSize
,
resultBuffer
);
}
QuaternionLinearInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
QuaternionLinearInterpolant
.
prototype
=
Object
.
assign
(
Object
.
create
(
Interpolant
.
prototype
),
{
constructor
:
QuaternionLinearInterpolant
,
...
...
src/objects/LOD.js
浏览文件 @
bf754133
...
...
@@ -22,7 +22,6 @@ function LOD() {
}
LOD
.
prototype
=
Object
.
assign
(
Object
.
create
(
Object3D
.
prototype
),
{
constructor
:
LOD
,
...
...
src/objects/SkinnedMesh.js
浏览文件 @
bf754133
...
...
@@ -71,7 +71,6 @@ function SkinnedMesh( geometry, material, useVertexTexture ) {
}
SkinnedMesh
.
prototype
=
Object
.
assign
(
Object
.
create
(
Mesh
.
prototype
),
{
constructor
:
SkinnedMesh
,
...
...
src/renderers/WebGL2Renderer.js
浏览文件 @
bf754133
...
...
@@ -182,4 +182,5 @@ function WebGL2Renderer( parameters ) {
}
export
{
WebGL2Renderer
};
src/renderers/WebGLRenderTarget.js
浏览文件 @
bf754133
...
...
@@ -41,8 +41,6 @@ function WebGLRenderTarget( width, height, options ) {
Object
.
assign
(
WebGLRenderTarget
.
prototype
,
EventDispatcher
.
prototype
,
{
constructor
:
WebGLRenderTarget
,
isWebGLRenderTarget
:
true
,
setSize
:
function
(
width
,
height
)
{
...
...
src/renderers/WebGLRenderer.js
浏览文件 @
bf754133
...
...
@@ -2884,4 +2884,5 @@ function WebGLRenderer( parameters ) {
}
export
{
WebGLRenderer
};
src/renderers/webgl/WebGLClipping.js
浏览文件 @
bf754133
...
...
@@ -161,4 +161,5 @@ function WebGLClipping() {
}
export
{
WebGLClipping
};
src/renderers/webgl/WebGLProperties.js
浏览文件 @
bf754133
...
...
@@ -40,4 +40,5 @@ function WebGLProperties() {
}
export
{
WebGLProperties
};
src/renderers/webgl/WebGLShader.js
浏览文件 @
bf754133
...
...
@@ -42,4 +42,5 @@ function WebGLShader( gl, type, string ) {
}
export
{
WebGLShader
};
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录