From c9707a408f575ee98dc81238244cbfa1f741c116 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 4 Sep 2018 15:32:01 +0200 Subject: Subdiv: Move mesh creation functionality to own header --- source/blender/blenkernel/BKE_subdiv.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'source/blender/blenkernel/BKE_subdiv.h') diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h index 111f04915ad..28b2942a70f 100644 --- a/source/blender/blenkernel/BKE_subdiv.h +++ b/source/blender/blenkernel/BKE_subdiv.h @@ -171,22 +171,6 @@ Subdiv *BKE_subdiv_new_from_mesh(const SubdivSettings *settings, void BKE_subdiv_free(Subdiv *subdiv); -/* =========================== SUBDIV TO MESH API =========================== */ - -typedef struct SubdivToMeshSettings { - /* Resolution at which ptex are being evaluated. - * This defines how many vertices final mesh will have: every ptex has - * resolution^2 vertices. - */ - int resolution; -} SubdivToMeshSettings; - -/* Create real hi-res mesh from subdivision, all geometry is "real". */ -struct Mesh *BKE_subdiv_to_mesh( - Subdiv *subdiv, - const SubdivToMeshSettings *settings, - const struct Mesh *coarse_mesh); - /* ============================ DISPLACEMENT API ============================ */ void BKE_subdiv_displacement_attach_from_multires( -- cgit v1.2.3