Function pfield::loadMesh
Defined in File mesh_collision.hpp
Function Documentation
-
std::shared_ptr<MeshCollisionData> pfield::loadMesh(const std::string &uri)
Loads a mesh from the given URI and returns a shared pointer to the MeshCollisionData.
- Parameters:
uri – The URI of the mesh to load, e.g., “file://path/to/mesh.obj”
- Returns:
std::shared_ptr<MeshCollisionData> The loaded mesh collision data