From 15d2aa9efe8d6d7b9a86b18c9ba17efa7d524c77 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Tue, 15 Dec 2015 22:22:58 -0500 Subject: [PATCH] Bump three dep: 1.1.0 -> 1.2.0 --- index.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 0fe714d..3a7cc4d 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ module.exports = (function () { currFrame += 1; var attributes = bufferGeomAttributes, - numPoints = attributes.position.length / 3; + numPoints = attributes.position.count / 3; for (var i = 0; i < numPoints; ++i) { tmpPos.set( diff --git a/package.json b/package.json index ec2c78a..1fed129 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "three-buffergeometry-sort", - "version": "1.1.0", + "version": "1.2.0", "description": "Utility to sort THREE.js BufferGeometry", "main": "index.js", "repository": { @@ -18,6 +18,6 @@ }, "homepage": "https://github.com/frewsxcv/three-buffergeometry-sort", "devDependencies": { - "three": "~0.71.0" + "three": "~0.73.0" } } -- 2.51.2