This class will take an input mesh and recompute texture coordinates to fit on a texture atlas.
static bool process(agxCollide::RenderData *renderData)
From the input data, it will build a texture atlas, recompute texture coordinates to the output data.
static bool process(const agx::Vec3Vector &vertices, const agx::Vec3Vector &normals, const agx::UInt32Vector &indices, const agx::Vec2Vector &texCoordinates, agx::Vec3Vector &out_vertices, agx::Vec3Vector &out_normals, agx::UInt32Vector &out_indices, agx::Vec2Vector &out_texCoordinates)
From the input data, it will build a texture atlas, recompute texture coordinates to the output data.