Template Function coal::generateBVHModel(BVHModel<BV>&, const Cylinder&, const Transform3s&, unsigned int)

Function Documentation

template<typename BV>
void coal::generateBVHModel(BVHModel<BV> &model, const Cylinder &shape, const Transform3s &pose, unsigned int tot_for_unit_cylinder)

Generate BVH model from cylinder Difference from generateBVHModel: is that it gives the circle split number tot for a cylinder with unit radius. For cylinder with larger radius, the number of circle split number is r * tot.