MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / addUV

Method addUV

Utils/IndexedFaceMesh.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void IndexedFaceMesh::addUV(const Real u, const Real v)
106{
107 Vector2r uv;
108 uv[0] = u;
109 uv[1] = v;
110 m_uvs.push_back(uv);
111}
112
113void IndexedFaceMesh::addUVIndex(const unsigned int index)
114{

Callers 2

UtilitiesModuleFunction · 0.80
loadMeshMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected