@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
12 lines • 765 B
TypeScript
/**
* Computes bounding sphere of a number of spheres
* NOTE: implementation does not produce a very tight sphere, here is a good resource for a better implementation:
* https://github.com/CGAL/cgal/blob/master/Bounding_volumes/include/CGAL/Min_sphere_of_spheres_d/Min_sphere_of_spheres_d_support_set.h
* @param {number[]|Float32Array|Float64Array} result
* @param {number[]|Float32Array|Float64Array} data
* @param {number} offset
* @param {number} count
* @param {number} dimensions
*/
export function computeBoundingSphereOfSpheres(result: number[] | Float32Array | Float64Array, data: number[] | Float32Array | Float64Array, offset: number, count: number, dimensions: number): void;
//# sourceMappingURL=computeBoundingSphereOfSpheres.d.ts.map