octify-aabb
v1.0.1
Published
computes the octants surrounding the center point of an axis-aligned bounding box
Downloads
6
Maintainers
Readme
octify-aabb
computes the octants surrounding the center point of an axis-aligned bounding box
npm install octify-aabb
var octifyAabb = require('octify-aabb');
var result = octifyAabb([[1,1,1], [-1,-1,-1]]);
the result will contain eight AABBs, each defined in the usual way