download
raw
808 Bytes
import { Triangle, Box3, Ray, Sphere, Object3D } from 'three'
import { Capsule } from './Capsule'
export class Octree {
constructor(box?: Box3)
triangles: Triangle[]
box: Box3
subTrees: Octree[]
addTriangle(triangle: Triangle): this
calcBox(): this
split(level: number): this
build(): this
getRayTriangles(ray: Ray, triangles: Triangle[]): Triangle[]
triangleCapsuleIntersect(capsule: Capsule, triangle: Triangle): any
triangleSphereIntersect(sphere: Sphere, triangle: Triangle): any
getSphereTriangles(sphere: Sphere, triangles: Triangle[]): Triangle[]
getCapsuleTriangles(capsule: Capsule, triangles: Triangle[]): Triangle[]
sphereIntersect(sphere: Sphere): any
capsuleIntersect(capsule: Capsule): any
rayIntersect(ray: Ray): any
fromGraphNode(group: Object3D): this
}

Xet Storage Details

Size:
808 Bytes
·
Xet hash:
8d0c623f439c91b1cda179e6a9737e82af5ba1392e704d8b4e0670d96efc8f15

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.