1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00
Daniel Neto 2023-12-11 11:59:56 -03:00
parent f0f62670c5
commit 7e26256cac
4563 changed files with 1246712 additions and 17558 deletions

View file

@ -0,0 +1,22 @@
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;
}