Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
b827aaef
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,发现更多精彩内容 >>
提交
b827aaef
编写于
4月 01, 2014
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Typed* to Proxy*
上级
d787de47
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
69 addition
and
69 deletion
+69
-69
src/core/ProxyGeometry.js
src/core/ProxyGeometry.js
+48
-48
src/core/proxies/ProxyColor.js
src/core/proxies/ProxyColor.js
+3
-3
src/core/proxies/ProxyFace3.js
src/core/proxies/ProxyFace3.js
+3
-3
src/core/proxies/ProxyVector2.js
src/core/proxies/ProxyVector2.js
+3
-3
src/core/proxies/ProxyVector3.js
src/core/proxies/ProxyVector3.js
+3
-3
src/core/proxies/ProxyVector4.js
src/core/proxies/ProxyVector4.js
+3
-3
utils/build/includes/common.json
utils/build/includes/common.json
+6
-6
未找到文件。
src/core/Geometry.js
→
src/core/
Proxy
Geometry.js
浏览文件 @
b827aaef
...
...
@@ -8,7 +8,7 @@
* @author jbaicoianu / http://baicoianu.com
*/
THREE
.
Geometry
=
function
(
)
{
THREE
.
Proxy
Geometry
=
function
(
)
{
THREE
.
BufferGeometry
.
call
(
this
);
...
...
@@ -20,9 +20,9 @@ THREE.Geometry = function ( ) {
};
THREE
.
Geometry
.
prototype
=
Object
.
create
(
THREE
.
IndexedGeometry2
.
prototype
);
THREE
.
Proxy
Geometry
.
prototype
=
Object
.
create
(
THREE
.
IndexedGeometry2
.
prototype
);
Object
.
defineProperties
(
THREE
.
Geometry
.
prototype
,
{
Object
.
defineProperties
(
THREE
.
Proxy
Geometry
.
prototype
,
{
vertices
:
{
enumerable
:
true
,
configurable
:
true
,
...
...
@@ -70,7 +70,7 @@ Object.defineProperties(THREE.Geometry.prototype, {
},
});
THREE
.
Geometry
.
prototype
.
createVertexProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createVertexProxies
=
function
(
values
)
{
if
(
!
this
.
hasOwnProperty
(
'
vertices
'
))
{
...
...
@@ -88,7 +88,7 @@ THREE.Geometry.prototype.createVertexProxies = function(values) {
// If the attribute buffer has already been populated, set up proxy objects
this
.
populateProxyFromBuffer
(
this
.
vertices
,
"
position
"
,
THREE
.
Typed
Vector3
,
3
);
this
.
populateProxyFromBuffer
(
this
.
vertices
,
"
position
"
,
THREE
.
Proxy
Vector3
,
3
);
// If values were passed in, store them in the buffer via the proxy objects
...
...
@@ -107,7 +107,7 @@ THREE.Geometry.prototype.createVertexProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createFaceProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createFaceProxies
=
function
(
values
)
{
if
(
!
this
.
hasOwnProperty
(
"
faces
"
))
{
...
...
@@ -155,7 +155,7 @@ THREE.Geometry.prototype.createFaceProxies = function(values) {
var
o
=
i
*
3
;
var
face
=
new
THREE
.
Typed
Face3
(
indexarray
,
i
*
3
);
var
face
=
new
THREE
.
Proxy
Face3
(
indexarray
,
i
*
3
);
faces
.
push
(
face
);
}
...
...
@@ -167,7 +167,7 @@ THREE.Geometry.prototype.createFaceProxies = function(values) {
var
o
=
i
*
3
;
var
v1
=
i
,
v2
=
i
+
1
,
v3
=
i
+
2
;
var
face
=
new
THREE
.
Typed
Face3
(
v1
,
v2
,
v3
);
var
face
=
new
THREE
.
Proxy
Face3
(
v1
,
v2
,
v3
);
faces
.
push
(
face
);
}
...
...
@@ -215,7 +215,7 @@ THREE.Geometry.prototype.createFaceProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createFaceVertexNormalProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createFaceVertexNormalProxies
=
function
(
values
)
{
if
(
this
.
attributes
[
'
normal
'
]
&&
this
.
attributes
[
'
normal
'
].
array
)
{
...
...
@@ -226,9 +226,9 @@ THREE.Geometry.prototype.createFaceVertexNormalProxies = function(values) {
var
f
=
this
.
faces
[
i
];
f
.
vertexNormals
=
[
new
THREE
.
Typed
Vector3
(
normalarray
,
f
.
a
*
3
),
new
THREE
.
Typed
Vector3
(
normalarray
,
f
.
b
*
3
),
new
THREE
.
Typed
Vector3
(
normalarray
,
f
.
c
*
3
),
new
THREE
.
Proxy
Vector3
(
normalarray
,
f
.
a
*
3
),
new
THREE
.
Proxy
Vector3
(
normalarray
,
f
.
b
*
3
),
new
THREE
.
Proxy
Vector3
(
normalarray
,
f
.
c
*
3
),
];
f
.
normal
=
new
THREE
.
MultiVector3
(
f
.
vertexNormals
);
...
...
@@ -264,7 +264,7 @@ THREE.Geometry.prototype.createFaceVertexNormalProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createFaceVertexColorProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createFaceVertexColorProxies
=
function
(
values
)
{
if
(
this
.
attributes
[
'
color
'
]
&&
this
.
attributes
[
'
color
'
].
array
)
{
...
...
@@ -275,17 +275,17 @@ THREE.Geometry.prototype.createFaceVertexColorProxies = function(values) {
if
(
this
.
attributes
[
'
index
'
]
)
{
f
.
vertexColors
=
[
new
THREE
.
Typed
Color
(
colorarray
,
f
.
a
*
3
),
new
THREE
.
Typed
Color
(
colorarray
,
f
.
b
*
3
),
new
THREE
.
Typed
Color
(
colorarray
,
f
.
c
*
3
),
new
THREE
.
Proxy
Color
(
colorarray
,
f
.
a
*
3
),
new
THREE
.
Proxy
Color
(
colorarray
,
f
.
b
*
3
),
new
THREE
.
Proxy
Color
(
colorarray
,
f
.
c
*
3
),
];
}
else
{
var
o
=
i
*
9
;
f
.
vertexColors
=
[
new
THREE
.
Typed
Color
(
colorarray
,
o
),
new
THREE
.
Typed
Color
(
colorarray
,
o
+
3
),
new
THREE
.
Typed
Color
(
colorarray
,
o
+
6
),
new
THREE
.
Proxy
Color
(
colorarray
,
o
),
new
THREE
.
Proxy
Color
(
colorarray
,
o
+
3
),
new
THREE
.
Proxy
Color
(
colorarray
,
o
+
6
),
];
}
f
.
color
=
new
THREE
.
MultiColor
(
f
.
vertexColors
);
...
...
@@ -322,7 +322,7 @@ THREE.Geometry.prototype.createFaceVertexColorProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createFaceVertexTangentProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createFaceVertexTangentProxies
=
function
(
values
)
{
if
(
this
.
attributes
[
'
tangent
'
]
&&
this
.
attributes
[
'
tangent
'
].
array
)
{
...
...
@@ -333,9 +333,9 @@ THREE.Geometry.prototype.createFaceVertexTangentProxies = function(values) {
var
f
=
this
.
faces
[
i
];
f
.
vertexTangents
=
[
new
THREE
.
Typed
Vector3
(
tangentarray
,
f
.
a
*
3
),
new
THREE
.
Typed
Vector3
(
tangentarray
,
f
.
b
*
3
),
new
THREE
.
Typed
Vector3
(
tangentarray
,
f
.
c
*
3
),
new
THREE
.
Proxy
Vector3
(
tangentarray
,
f
.
a
*
3
),
new
THREE
.
Proxy
Vector3
(
tangentarray
,
f
.
b
*
3
),
new
THREE
.
Proxy
Vector3
(
tangentarray
,
f
.
c
*
3
),
];
}
...
...
@@ -366,7 +366,7 @@ THREE.Geometry.prototype.createFaceVertexTangentProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createUvProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createUvProxies
=
function
(
values
)
{
// Replace the prototype getter with a local array property
...
...
@@ -389,14 +389,14 @@ THREE.Geometry.prototype.createUvProxies = function(values) {
this
.
faceVertexUvs
[
0
][
i
]
=
[];
if
(
this
.
attributes
[
'
index
'
]
)
{
this
.
faceVertexUvs
[
0
][
i
][
0
]
=
new
THREE
.
Typed
Vector2
(
uvarray
,
f
.
a
*
2
);
this
.
faceVertexUvs
[
0
][
i
][
1
]
=
new
THREE
.
Typed
Vector2
(
uvarray
,
f
.
b
*
2
);
this
.
faceVertexUvs
[
0
][
i
][
2
]
=
new
THREE
.
Typed
Vector2
(
uvarray
,
f
.
c
*
2
);
this
.
faceVertexUvs
[
0
][
i
][
0
]
=
new
THREE
.
Proxy
Vector2
(
uvarray
,
f
.
a
*
2
);
this
.
faceVertexUvs
[
0
][
i
][
1
]
=
new
THREE
.
Proxy
Vector2
(
uvarray
,
f
.
b
*
2
);
this
.
faceVertexUvs
[
0
][
i
][
2
]
=
new
THREE
.
Proxy
Vector2
(
uvarray
,
f
.
c
*
2
);
}
else
{
var
o
=
i
*
6
;
this
.
faceVertexUvs
[
0
][
i
][
0
]
=
new
THREE
.
Typed
Vector2
(
uvarray
,
o
);
this
.
faceVertexUvs
[
0
][
i
][
1
]
=
new
THREE
.
Typed
Vector2
(
uvarray
,
o
+
2
);
this
.
faceVertexUvs
[
0
][
i
][
2
]
=
new
THREE
.
Typed
Vector2
(
uvarray
,
o
+
4
);
this
.
faceVertexUvs
[
0
][
i
][
0
]
=
new
THREE
.
Proxy
Vector2
(
uvarray
,
o
);
this
.
faceVertexUvs
[
0
][
i
][
1
]
=
new
THREE
.
Proxy
Vector2
(
uvarray
,
o
+
2
);
this
.
faceVertexUvs
[
0
][
i
][
2
]
=
new
THREE
.
Proxy
Vector2
(
uvarray
,
o
+
4
);
}
}
...
...
@@ -426,7 +426,7 @@ THREE.Geometry.prototype.createUvProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createSkinIndexProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createSkinIndexProxies
=
function
(
values
)
{
// Replace the prototype getter with a local array property
...
...
@@ -438,7 +438,7 @@ THREE.Geometry.prototype.createSkinIndexProxies = function(values) {
// If the attribute buffer has already been populated, set up proxy objects
this
.
populateProxyFromBuffer
(
this
.
skinIndices
,
"
skinIndex
"
,
THREE
.
Typed
Vector4
,
4
);
this
.
populateProxyFromBuffer
(
this
.
skinIndices
,
"
skinIndex
"
,
THREE
.
Proxy
Vector4
,
4
);
// If values were passed in, store them in the buffer via the proxy objects
...
...
@@ -458,7 +458,7 @@ THREE.Geometry.prototype.createSkinIndexProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createSkinWeightProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createSkinWeightProxies
=
function
(
values
)
{
// Replace the prototype getter with a local array property
...
...
@@ -470,7 +470,7 @@ THREE.Geometry.prototype.createSkinWeightProxies = function(values) {
// If the attribute buffer has already been populated, set up proxy objects
this
.
populateProxyFromBuffer
(
this
.
skinWeights
,
"
skinWeight
"
,
THREE
.
Typed
Vector4
,
4
);
this
.
populateProxyFromBuffer
(
this
.
skinWeights
,
"
skinWeight
"
,
THREE
.
Proxy
Vector4
,
4
);
// If values were passed in, store them in the buffer via the proxy objects
...
...
@@ -490,7 +490,7 @@ THREE.Geometry.prototype.createSkinWeightProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
createColorProxies
=
function
(
values
)
{
THREE
.
Proxy
Geometry
.
prototype
.
createColorProxies
=
function
(
values
)
{
// Replace the prototype getter with a local array property
...
...
@@ -502,7 +502,7 @@ THREE.Geometry.prototype.createColorProxies = function(values) {
// If the attribute buffer has already been populated, set up proxy objects
this
.
populateProxyFromBuffer
(
this
.
colors
,
"
color
"
,
THREE
.
Typed
Color
,
3
);
this
.
populateProxyFromBuffer
(
this
.
colors
,
"
color
"
,
THREE
.
Proxy
Color
,
3
);
// If values were passed in, store them in the buffer via the proxy objects
...
...
@@ -522,7 +522,7 @@ THREE.Geometry.prototype.createColorProxies = function(values) {
}
THREE
.
Geometry
.
prototype
.
populateProxyFromBuffer
=
function
(
attr
,
buffername
,
proxytype
,
itemsize
,
offset
,
count
)
{
THREE
.
Proxy
Geometry
.
prototype
.
populateProxyFromBuffer
=
function
(
attr
,
buffername
,
proxytype
,
itemsize
,
offset
,
count
)
{
if
(
this
.
attributes
[
buffername
]
&&
this
.
attributes
[
buffername
].
array
)
{
...
...
@@ -548,7 +548,7 @@ THREE.Geometry.prototype.populateProxyFromBuffer = function(attr, buffername, pr
* and faces' vertices are updated.
*/
THREE
.
Geometry
.
prototype
.
mergeVertices
=
function
()
{
THREE
.
Proxy
Geometry
.
prototype
.
mergeVertices
=
function
()
{
var
verticesMap
=
{};
// Hashmap for looking up vertice by position coordinates (and making sure they are unique)
var
unique
=
[],
changes
=
[];
...
...
@@ -631,7 +631,7 @@ THREE.Geometry.prototype.mergeVertices = function () {
}
THREE
.
Geometry
.
prototype
.
onGeometryAllocate
=
function
(
ev
)
{
THREE
.
Proxy
Geometry
.
prototype
.
onGeometryAllocate
=
function
(
ev
)
{
// Prevent allocate event listener from firing multiple times
this
.
removeEventListener
(
'
allocate
'
,
this
.
onGeometryAllocate
);
...
...
@@ -694,7 +694,7 @@ THREE.Geometry.prototype.onGeometryAllocate = function (ev) {
}
}
THREE
.
Geometry
.
prototype
.
computeFaceNormals
=
function
()
{
THREE
.
Proxy
Geometry
.
prototype
.
computeFaceNormals
=
function
()
{
this
.
dispatchEvent
(
{
type
:
'
allocate
'
}
);
...
...
@@ -702,7 +702,7 @@ THREE.Geometry.prototype.computeFaceNormals = function() {
}
THREE
.
Geometry
.
prototype
.
computeVertexNormals
=
function
()
{
THREE
.
Proxy
Geometry
.
prototype
.
computeVertexNormals
=
function
()
{
this
.
dispatchEvent
(
{
type
:
'
allocate
'
}
);
...
...
@@ -710,7 +710,7 @@ THREE.Geometry.prototype.computeVertexNormals = function() {
}
THREE
.
Geometry
.
prototype
.
computeTangents
=
function
()
{
THREE
.
Proxy
Geometry
.
prototype
.
computeTangents
=
function
()
{
this
.
dispatchEvent
(
{
type
:
'
allocate
'
}
);
...
...
@@ -723,7 +723,7 @@ THREE.Geometry.prototype.computeTangents = function() {
}
THREE
.
Geometry
.
prototype
.
computeBoundingSphere
=
function
()
{
THREE
.
Proxy
Geometry
.
prototype
.
computeBoundingSphere
=
function
()
{
this
.
dispatchEvent
(
{
type
:
'
allocate
'
}
);
...
...
@@ -731,17 +731,17 @@ THREE.Geometry.prototype.computeBoundingSphere = function() {
}
THREE
.
Geometry
.
prototype
.
computeBoundingBox
=
function
()
{
THREE
.
Proxy
Geometry
.
prototype
.
computeBoundingBox
=
function
()
{
this
.
dispatchEvent
(
{
type
:
'
allocate
'
}
);
return
THREE
.
BufferGeometry
.
prototype
.
computeBoundingBox
.
call
(
this
);
}
THREE
.
Geometry
.
prototype
.
clone
=
function
()
{
THREE
.
Proxy
Geometry
.
prototype
.
clone
=
function
()
{
var
buff
=
THREE
.
BufferGeometry
.
prototype
.
clone
.
call
(
this
);
var
geo
=
new
THREE
.
Geometry
();
var
geo
=
new
THREE
.
Proxy
Geometry
();
geo
.
attributes
=
buff
.
attributes
;
geo
.
offsets
=
buff
.
offsets
;
...
...
@@ -749,6 +749,6 @@ THREE.Geometry.prototype.clone = function () {
}
THREE
.
EventDispatcher
.
prototype
.
apply
(
THREE
.
Geometry
.
prototype
);
THREE
.
EventDispatcher
.
prototype
.
apply
(
THREE
.
Proxy
Geometry
.
prototype
);
THREE
.
GeometryIdCount
=
0
;
THREE
.
Proxy
GeometryIdCount
=
0
;
src/core/proxies/
Typed
Color.js
→
src/core/proxies/
Proxy
Color.js
浏览文件 @
b827aaef
...
...
@@ -3,16 +3,16 @@
* @author jbaicoianu / http://baicoianu.com/
*/
THREE
.
Typed
Color
=
function
(
array
,
offset
)
{
THREE
.
Proxy
Color
=
function
(
array
,
offset
)
{
this
.
array
=
array
;
this
.
offset
=
offset
;
}
THREE
.
Typed
Color
.
prototype
=
Object
.
create
(
THREE
.
Color
.
prototype
);
THREE
.
Proxy
Color
.
prototype
=
Object
.
create
(
THREE
.
Color
.
prototype
);
Object
.
defineProperties
(
THREE
.
Typed
Color
.
prototype
,
{
Object
.
defineProperties
(
THREE
.
Proxy
Color
.
prototype
,
{
'
r
'
:
{
enumerable
:
true
,
get
:
function
()
{
return
this
.
array
[
this
.
offset
];
},
...
...
src/core/proxies/
Typed
Face3.js
→
src/core/proxies/
Proxy
Face3.js
浏览文件 @
b827aaef
...
...
@@ -2,7 +2,7 @@
* @author jbaicoianu / http://baicoianu.com/
*/
THREE
.
Typed
Face3
=
function
(
array
,
offset
,
vertexNormals
,
vertexColors
,
vertexTangents
)
{
THREE
.
Proxy
Face3
=
function
(
array
,
offset
,
vertexNormals
,
vertexColors
,
vertexTangents
)
{
this
.
array
=
array
;
this
.
offset
=
offset
;
...
...
@@ -17,9 +17,9 @@ THREE.TypedFace3 = function ( array, offset, vertexNormals, vertexColors, vertex
}
THREE
.
Typed
Face3
.
prototype
=
Object
.
create
(
THREE
.
Face3
.
prototype
);
THREE
.
Proxy
Face3
.
prototype
=
Object
.
create
(
THREE
.
Face3
.
prototype
);
Object
.
defineProperties
(
THREE
.
Typed
Face3
.
prototype
,
{
Object
.
defineProperties
(
THREE
.
Proxy
Face3
.
prototype
,
{
'
a
'
:
{
enumerable
:
true
,
get
:
function
()
{
return
this
.
array
[
this
.
offset
];
},
...
...
src/core/proxies/
Typed
Vector2.js
→
src/core/proxies/
Proxy
Vector2.js
浏览文件 @
b827aaef
...
...
@@ -3,16 +3,16 @@
* @author jbaicoianu / http://baicoianu.com/
*/
THREE
.
Typed
Vector2
=
function
(
array
,
offset
)
{
THREE
.
Proxy
Vector2
=
function
(
array
,
offset
)
{
this
.
array
=
array
;
this
.
offset
=
offset
;
};
THREE
.
Typed
Vector2
.
prototype
=
Object
.
create
(
THREE
.
Vector2
.
prototype
);
THREE
.
Proxy
Vector2
.
prototype
=
Object
.
create
(
THREE
.
Vector2
.
prototype
);
Object
.
defineProperties
(
THREE
.
Typed
Vector2
.
prototype
,
{
Object
.
defineProperties
(
THREE
.
Proxy
Vector2
.
prototype
,
{
'
x
'
:
{
get
:
function
()
{
return
this
.
array
[
this
.
offset
];
},
set
:
function
(
v
)
{
this
.
array
[
this
.
offset
]
=
v
;
}
...
...
src/core/proxies/
Typed
Vector3.js
→
src/core/proxies/
Proxy
Vector3.js
浏览文件 @
b827aaef
...
...
@@ -3,16 +3,16 @@
* @author jbaicoianu / http://baicoianu.com/
*/
THREE
.
Typed
Vector3
=
function
(
array
,
offset
)
{
THREE
.
Proxy
Vector3
=
function
(
array
,
offset
)
{
this
.
array
=
array
;
this
.
offset
=
offset
;
};
THREE
.
Typed
Vector3
.
prototype
=
Object
.
create
(
THREE
.
Vector3
.
prototype
);
THREE
.
Proxy
Vector3
.
prototype
=
Object
.
create
(
THREE
.
Vector3
.
prototype
);
Object
.
defineProperties
(
THREE
.
Typed
Vector3
.
prototype
,
{
Object
.
defineProperties
(
THREE
.
Proxy
Vector3
.
prototype
,
{
'
x
'
:
{
get
:
function
()
{
return
this
.
array
[
this
.
offset
];
},
set
:
function
(
v
)
{
this
.
array
[
this
.
offset
]
=
v
;
}
...
...
src/core/proxies/
Typed
Vector4.js
→
src/core/proxies/
Proxy
Vector4.js
浏览文件 @
b827aaef
...
...
@@ -3,16 +3,16 @@
* @author jbaicoianu / http://baicoianu.com/
*/
THREE
.
Typed
Vector4
=
function
(
array
,
offset
)
{
THREE
.
Proxy
Vector4
=
function
(
array
,
offset
)
{
this
.
array
=
array
;
this
.
offset
=
offset
;
};
THREE
.
Typed
Vector4
.
prototype
=
Object
.
create
(
THREE
.
Vector4
.
prototype
);
THREE
.
Proxy
Vector4
.
prototype
=
Object
.
create
(
THREE
.
Vector4
.
prototype
);
Object
.
defineProperties
(
THREE
.
Typed
Vector4
.
prototype
,
{
Object
.
defineProperties
(
THREE
.
Proxy
Vector4
.
prototype
,
{
'
x
'
:
{
get
:
function
()
{
return
this
.
array
[
this
.
offset
];
},
set
:
function
(
v
)
{
this
.
array
[
this
.
offset
]
=
v
;
}
...
...
utils/build/includes/common.json
浏览文件 @
b827aaef
...
...
@@ -31,14 +31,14 @@
"src/core/BufferGeometryManipulator.js"
,
"src/core/Geometry2.js"
,
"src/core/IndexedGeometry2.js"
,
"src/core/Geometry.js"
,
"src/core/
Proxy
Geometry.js"
,
"src/core/proxies/MultiColor.js"
,
"src/core/proxies/MultiVector3.js"
,
"src/core/proxies/
Typed
Color.js"
,
"src/core/proxies/
Typed
Vector2.js"
,
"src/core/proxies/
Typed
Vector3.js"
,
"src/core/proxies/
Typed
Vector4.js"
,
"src/core/proxies/
Typed
Face3.js"
,
"src/core/proxies/
Proxy
Color.js"
,
"src/core/proxies/
Proxy
Vector2.js"
,
"src/core/proxies/
Proxy
Vector3.js"
,
"src/core/proxies/
Proxy
Vector4.js"
,
"src/core/proxies/
Proxy
Face3.js"
,
"src/cameras/Camera.js"
,
"src/cameras/OrthographicCamera.js"
,
"src/cameras/PerspectiveCamera.js"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录