mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
This commit is contained in:
parent
f0f62670c5
commit
7e26256cac
4563 changed files with 1246712 additions and 17558 deletions
22
node_modules/three/examples/jsm/math/MeshSurfaceSampler.d.ts
generated
vendored
Normal file
22
node_modules/three/examples/jsm/math/MeshSurfaceSampler.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
import {
|
||||
BufferGeometry,
|
||||
Color,
|
||||
Mesh,
|
||||
Vector3
|
||||
} from '../../../src/Three';
|
||||
|
||||
export class MeshSurfaceSampler {
|
||||
|
||||
distribution: Float32Array | null;
|
||||
geometry: BufferGeometry;
|
||||
positionAttribute: Float32Array;
|
||||
weightAttribute: string | null;
|
||||
|
||||
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;
|
||||
setWeightAttribute( name: string | null ): this;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue