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

Function Documentation

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

Generate BVH model from sphere, given the number of segments along longitude and number of rings along latitude.