| 468 | } |
| 469 | |
| 470 | void SceneImpl::DefineStrands(const string &shapeName, const cyHairFile &strandsFile, |
| 471 | const StrandsTessellationType tesselType, |
| 472 | const unsigned int adaptiveMaxDepth, const float adaptiveError, |
| 473 | const unsigned int solidSideCount, const bool solidCapBottom, const bool solidCapTop, |
| 474 | const bool useCameraPosition) { |
| 475 | // Invalidate the scene properties cache |
| 476 | scenePropertiesCache.Clear(); |
| 477 | |
| 478 | scene->DefineStrands(shapeName, strandsFile, |
| 479 | (slg::StrendsShape::TessellationType)tesselType, adaptiveMaxDepth, adaptiveError, |
| 480 | solidSideCount, solidCapBottom, solidCapTop, |
| 481 | useCameraPosition); |
| 482 | } |
| 483 | |
| 484 | bool SceneImpl::IsMeshDefined(const std::string &meshName) const { |
| 485 | return scene->IsMeshDefined(meshName); |
no test coverage detected