| 324 | } |
| 325 | |
| 326 | static __forceinline bool final(const CatmullClarkPatch& patch, const typename CatmullClarkRing::Type type, size_t depth) |
| 327 | { |
| 328 | const size_t max_eval_depth = (type & CatmullClarkRing::TYPE_CREASES) ? PATCH_MAX_EVAL_DEPTH_CREASE : PATCH_MAX_EVAL_DEPTH_IRREGULAR; |
| 329 | //#if PATCH_MIN_RESOLUTION |
| 330 | // return patch.isFinalResolution(PATCH_MIN_RESOLUTION) || depth>=max_eval_depth; |
| 331 | //#else |
| 332 | return depth>=max_eval_depth; |
| 333 | //#endif |
| 334 | } |
| 335 | |
| 336 | template<typename Allocator> |
| 337 | __noinline static Ref create(const Allocator& alloc, CatmullClarkPatch& patch, const HalfEdge* edge, const char* vertices, size_t stride, size_t depth, |
no outgoing calls
no test coverage detected