| 37 | } |
| 38 | |
| 39 | Algorithm chooseAlgorithm(const std::vector<Primitive*>& primitives) { |
| 40 | if (Algo::getConvexity(primitives) >= 2) { |
| 41 | return Goldfeather; |
| 42 | } |
| 43 | return SCS; |
| 44 | } |
| 45 | |
| 46 | DepthComplexityAlgorithm chooseDepthComplexityAlgorithm(const std::vector<Primitive*>& primitives) { |
| 47 | if (!haveHardwareOcclusionQueries() && primitives.size() > 40) { |
no test coverage detected