Template Function hpp::fcl::internal::meshFromAssimpScene

Function Documentation

template<class BoundingVolume>
inline void hpp::fcl::internal::meshFromAssimpScene(const fcl::Vec3f &scale, const aiScene *scene, const shared_ptr<BVHModel<BoundingVolume>> &mesh)

Convert an assimp scene to a mesh.

Parameters:
  • scale[in] Scale to apply when reading the ressource

  • scene[in] Pointer to the assimp scene

  • mesh[out] The mesh that must be built