| 134 | /* creates BSplinePatch from a half edge */ |
| 135 | template<typename Allocator> |
| 136 | __noinline static Ref create(const Allocator& alloc, const HalfEdge* edge, const char* vertices, size_t stride) { |
| 137 | return Ref(BSPLINE_PATCH, new (alloc(sizeof(BSplinePatch))) BSplinePatch(edge,vertices,stride)); |
| 138 | } |
| 139 | |
| 140 | __forceinline BSplinePatch (const HalfEdge* edge, const char* vertices, size_t stride) |
| 141 | : patch(edge,vertices,stride) {} |