bin-pack
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "bin-pack", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A packing algorithm for 2D bin packing. Largely based on code and a blog post by Jake Gordon.", | ||
@@ -19,8 +19,11 @@ "author": { | ||
"license": "MIT", | ||
"homepage": "https://github.com/bryanburgers/bin-pack", | ||
"bugs": { | ||
"url": "https://github.com/bryanburgers/bin-pack/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "bryanburgers/bin-pack" | ||
"url": "git@github.com:bryanburgers/bin-pack.git" | ||
}, | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -27,0 +30,0 @@ "mocha": "~1.12.1" |
@@ -95,4 +95,4 @@ /****************************************************************************** | ||
node.used = true; | ||
node.down = { x: node.x, y: node.y + height, width: node.width, h: node.height - height }; | ||
node.right = { x: node.x + width, y: node.y, width: node.width - width, h: height }; | ||
node.down = { x: node.x, y: node.y + height, width: node.width, height: node.height - height }; | ||
node.right = { x: node.x + width, y: node.y, width: node.width - width, height: height }; | ||
return node; | ||
@@ -99,0 +99,0 @@ }, |
Sorry, the diff of this file is not supported yet
33374