Constructs a new SubdivisionModifier.
Subdivides the faces of the given [[THREE.BufferGeometry]].
This method modifies (in-place) the vertices and the faces of the geometry. Please note that only the vertex position and their UV coordinates are subdivided. Normals, vertex colors and other attributes are left unmodified.
The [[THREE.BufferGeometry]] to subdivide.
Returns if the given triangle should be subdivide.
Implementations of this function should return the index of the edge of the triangle to split (0, 1, or 2) or undefined if the triangle doesn't need to be subdivided.
The position of the first vertex of the triangle.
The position of the second vertex of the triangle.
The position of the third vertex of the triangle.
Generated using TypeDoc
The SubdivisionModifier subdivides triangle mesh geometries.