mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
13 lines (12 loc) • 349 B
TypeScript
/**
* An object representing both a sphere and an AABB, which is used for culling of all instances.
*
* By default, the size of the bounds is 0, and thus point-culling is done.
*/
export default class Bounds {
x: number;
y: number;
z: number;
r: number;
fromExtents(min: Float32Array, max: Float32Array): void;
}