update three.js. extract inner funcs from init. fix cache on windows. update clipper

This commit is contained in:
Stewart Allen 2020-03-16 23:57:14 -04:00
commit a13cdc309f
9 changed files with 8752 additions and 1125 deletions

View file

@ -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;
};