| 208 | { |
| 209 | template<typename Allocator> |
| 210 | __noinline static Ref create(const Allocator& alloc, Ref children[4]) { |
| 211 | return Ref(SUBDIVIDED_QUAD_PATCH, new (alloc(sizeof(SubdividedQuadPatch))) SubdividedQuadPatch(children)); |
| 212 | } |
| 213 | |
| 214 | __forceinline SubdividedQuadPatch(Ref children[4]) { |
| 215 | for (size_t i=0; i<4; i++) child[i] = children[i]; |