docsby gkjohnson
On this page

Properties

sphere: BoundingSphere | null

obb: OBB | null

Methods

setSphereData(
	x: number,
	y: number,
	z: number,
	radius: number,
	transform: Mat4
): void
setObbData(
	// The 12 numbers of a 3D Tiles `box`: center, then the x, y and z half-axis vectors.
	data: Array<number>,
	transform: Mat4
): void
distanceToPoint( point: Vec3 ): number
intersectsFrustum(
	// The frustum, in the frame of the tileset.
	frustum: Frustum,

	// The six planes of the frustum.
	frustumPlanes: Array<Plane>,

	// The eight corners of the frustum.
	frustumPoints: Array<Vec3>
): boolean