update three.js. extract inner funcs from init. fix cache on windows. update clipper
This commit is contained in:
parent
f581e2f89f
commit
a13cdc309f
9 changed files with 8752 additions and 1125 deletions
|
|
@ -104,7 +104,7 @@
|
|||
|
||||
THREE.Geometry.fromVertices = function(vertices) {
|
||||
var geometry = new THREE.BufferGeometry();
|
||||
geometry.addAttribute('position', new THREE.BufferAttribute(vertices, 3));
|
||||
geometry.setAttribute('position', new THREE.BufferAttribute(vertices, 3));
|
||||
return geometry;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue