Support Forum       G3D Web Page     
Classes | Static Public Member Functions | List of all members
G3D::Welder Class Reference

Classes

class  Settings
 

Static Public Member Functions

static void weld (Array< Vector3 > &vertices, Array< Vector2 > &textureCoords, Array< Vector3 > &normals, Array< Array< int > *> &indices, const Settings &settings)
 
Mutates geometry, texCoord, and indexArray so that the output has collocated vertices collapsed (welded). More...
 
static void weld (Array< Vector3 > &vertices, Array< Vector2 > &textureCoords, Array< Vector3 > &normals, Array< int > &indices, const Settings &settings)
 
Mutates geometry, texCoord, and indexArray so that the output has collocated vertices collapsed (welded). More...
 

Member Function Documentation

◆ weld() [1/2]

static void G3D::Welder::weld ( Array< Vector3 > &  vertices,
Array< Vector2 > &  textureCoords,
Array< Vector3 > &  normals,
Array< Array< int > *> &  indices,
const Settings settings 
)
static


Mutates geometry, texCoord, and indexArray so that the output has collocated vertices collapsed (welded).

Parameters
verticesInput and output
textureCoordsInput and output
normalsOutput only
indicesInput and output. This is an array of trilist indices.

Referenced by weld().

◆ weld() [2/2]

static void G3D::Welder::weld ( Array< Vector3 > &  vertices,
Array< Vector2 > &  textureCoords,
Array< Vector3 > &  normals,
Array< int > &  indices,
const Settings settings 
)
inlinestatic


Mutates geometry, texCoord, and indexArray so that the output has collocated vertices collapsed (welded).

Parameters
verticesInput and output
textureCoordsInput and output
normalsOutput only
indicesInput and output. This is an array of trilist indices.

documentation generated on Wed Nov 24 2021 08:02:02 using doxygen 1.8.15