computeConeBoundingBox
computeConeBoundingBox(result, originX, originY, originZ, directionX, directionY, directionZ, angle, length)
NOTE: used stackoverflow answer as a basis for circle part: https://stackoverflow.com/questions/2592011/bounding-boxes-for-circle-and-arcs-in-3d
Kind: global function
Param | Type | Description |
---|---|---|
result | Array.<number> | ArrayLike.<number> | Float32Array | |
originX | number | |
originY | number | |
originZ | number | |
directionX | number | |
directionY | number | |
directionZ | number | |
angle | number | in Radians |
length | number |