------------------------------------------------------------------------------------------------ Executes the post processing step on the given imported data.
| 70 | // ------------------------------------------------------------------------------------------------ |
| 71 | // Executes the post processing step on the given imported data. |
| 72 | void GenVertexNormalsProcess::SetupProperties(const Importer *pImp) { |
| 73 | // Get the current value of the AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE property |
| 74 | configMaxAngle = pImp->GetPropertyFloat(AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE, (ai_real)175.0); |
| 75 | configMaxAngle = AI_DEG_TO_RAD(std::max(std::min(configMaxAngle, (ai_real)175.0), (ai_real)0.0)); |
| 76 | } |
| 77 | |
| 78 | // ------------------------------------------------------------------------------------------------ |
| 79 | // Executes the post processing step on the given imported data. |
nothing calls this directly
no test coverage detected