Edger
Generate hard edges for voxel data
Install
npm install edger
Usage
var edger = ;var ndarray = ;var voxel = ;voxel;var result = ;console; //12 edges for one block//[ [ [ 0, 0, 0 ], [ 0, 0, 1 ] ],//[ [ 0, 1, 0 ], [ 0, 1, 1 ] ],//[ [ 1, 0, 0 ], [ 1, 0, 1 ] ],//[ [ 1, 1, 0 ], [ 1, 1, 1 ] ],//[ [ 0, 1, 0 ], [ 1, 1, 0 ] ],//[ [ 0, 0, 0 ], [ 1, 0, 0 ] ],//[ [ 0, 0, 1 ], [ 1, 0, 1 ] ],//[ [ 0, 1, 1 ], [ 1, 1, 1 ] ],//[ [ 1, 0, 0 ], [ 1, 1, 0 ] ],//[ [ 1, 0, 1 ], [ 1, 1, 1 ] ],//[ [ 0, 0, 1 ], [ 0, 1, 1 ] ],//[ [ 0, 0, 0 ], [ 0, 1, 0 ] ] ]