#include <Welder.h>
Mutates geometry, texCoord, and indexArray so that the output has collocated vertices collapsed (welded).
- Parameters
-
vertices | Input and output |
textureCoords | Input and output |
normals | Output only |
indices | Input and output. This is an array of trilist indices. |
491 _internal::WeldHelper(settings.vertexWeldRadius).process
492 (vertexArray, texCoordArray, normalArray, indexArrayArray,
493 settings.normalSmoothingAngle, settings.textureWeldRadius, settings.normalWeldRadius);
Mutates geometry, texCoord, and indexArray so that the output has collocated vertices collapsed (welded).
- Parameters
-
vertices | Input and output |
textureCoords | Input and output |
normals | Output only |
indices | Input and output. This is an array of trilist indices. |
80 Array<Array<int>*> meta;
81 meta.append(&indices);
82 weld(vertices, textureCoords, normals, meta, settings);
static void weld(Array< Vector3 > &vertices, Array< Vector2 > &textureCoords, Array< Vector3 > &normals, Array< Array< int > * > &indices, const Settings &settings)
Definition: Welder.cpp:485
The documentation for this class was generated from the following files: