1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00
Oinktube/node_modules/three/examples/jsm/modifiers/EdgeSplitModifier.d.ts
2023-12-11 11:59:56 -03:00

22 lines
791 B
TypeScript

import { BufferGeometry, Geometry } from '../../../src/Three';
export class EdgeSplitModifier {
constructor();
/**
* @param geometry The geometry to modify by splitting edges.
* This geometry can be any of any type: Geometry or BufferGeometry, indexed or
* not...
*
* @param cutOffPoint The cutoff angle in radians. If the angle between two face normals is higher
* than this value, a split will be made.
*
* @param [tryKeepNormals = true] Set to true to keep the normal values for vertices that won't be split.
* To use this feature, you also need to pass an indexed geometry with a 'normal'
* BufferAttribute.
*/
modify( geometry: Geometry, cutOffPoint: number, tryKeepNormals: boolean ): BufferGeometry;
}