@awayjs/view
Version:
View for AwayJS
17 lines • 634 B
TypeScript
import { Plane3D, Sphere, Vector3D } from '@awayjs/core';
import { BoundingVolumeBase } from './BoundingVolumeBase';
export declare class BoundingSphere extends BoundingVolumeBase {
private _matrix3D;
private _sphere;
private _radius;
private _centerX;
private _centerY;
private _centerZ;
nullify(): void;
isInFrustum(planes: Array<Plane3D>, numPlanes: number): boolean;
rayIntersection(position: Vector3D, direction: Vector3D, targetNormal: Vector3D): number;
getSphere(): Sphere;
classifyToPlane(plane: Plane3D): number;
_update(): void;
}
//# sourceMappingURL=BoundingSphere.d.ts.map