| 332 | } |
| 333 | |
| 334 | std::pair<unsigned,Ref<SceneGraph::Node>> addGridSphere (RandomSampler& sampler, RTCBuildQuality quality, const Vec3fa& pos, const float r, size_t N, size_t maxGrids = -1, const avector<Vec3fa>& motion_vector = avector<Vec3fa>()) |
| 335 | { |
| 336 | Ref<SceneGraph::Node> node = SceneGraph::createGridSphere(pos,r,N); |
| 337 | if (motion_vector.size()) SceneGraph::set_motion_vector(node,motion_vector); |
| 338 | return addGeometry2(quality,node); |
| 339 | } |
| 340 | |
| 341 | std::pair<unsigned,Ref<SceneGraph::Node>> addSubdivSphere (RandomSampler& sampler, RTCBuildQuality quality, const Vec3fa& pos, const float r, size_t numPhi, float level, size_t maxFaces = -1, const avector<Vec3fa>& motion_vector = avector<Vec3fa>()) |
| 342 | { |
no test coverage detected