Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+18
View File
@@ -0,0 +1,18 @@
import { BufferGeometry, Color, Mesh, Vector3 } from 'three'
export class MeshSurfaceSampler {
distribution: Float32Array | null
geometry: BufferGeometry
positionAttribute: Float32Array
weightAttribute: string | null
randomFunction: () => number
setRandomGenerator(randomFunction: () => number): this
constructor(mesh: Mesh)
binarySearch(x: number): number
build(): this
sample(targetPosition: Vector3, targetNormal?: Vector3, targetColor?: Color): this
sampleFace(faceIndex: number, targetPosition: Vector3, targetNormal?: Vector3, targetColor?: Color): this
sampleFaceIndex(): number
setWeightAttribute(name: string | null): this
}