download
raw
633 Bytes
import { Object3D, Plane, Vector3 } from 'three'
export interface CutByPlaneOutput {
object1: Object3D
object2: Object3D
}
export class ConvexObjectBreaker {
constructor(minSizeForBreak?: number, smallDelta?: number)
prepareBreakableObject(
object: Object3D,
mass: number,
velocity: Vector3,
angularVelocity: Vector3,
breakable: boolean,
): void
subdivideByImpact(
object: Object3D,
pointOfImpact: Vector3,
normal: Vector3,
maxRadialIterations: number,
maxRandomIterations: number,
): Object3D[]
cutByPlane(object: Object3D, plane: Plane, output: CutByPlaneOutput): number
}

Xet Storage Details

Size:
633 Bytes
·
Xet hash:
fbb9c4f18e939d2f7d165612c34517dae50de9bf4daf4e27f72727ba0bc1eebe

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