| 347 | } |
| 348 | #if PATCH_USE_GREGORY == 2 |
| 349 | else if (ty & CatmullClarkRing::TYPE_GREGORY_CREASES) { |
| 350 | assert(depth > 0); return GregoryPatch::create(alloc,patch,border0,border1,border2,border3); |
| 351 | } |
| 352 | #endif |
| 353 | else if (depth >= PATCH_MAX_CACHE_DEPTH) { |
| 354 | return EvalPatch::create(alloc,patch); |
no test coverage detected