Cleanup: Move draw_pbvh.h to C++

This commit is contained in:
Hans Goudey
2023-11-30 18:52:08 -05:00
parent 666a99da8d
commit 00c22b75d2
5 changed files with 5 additions and 13 deletions

View File

@@ -250,7 +250,7 @@ set(SRC
intern/draw_manager_testing.h
intern/draw_manager_text.h
intern/draw_pass.hh
intern/draw_pbvh.h
intern/draw_pbvh.hh
intern/draw_resource.hh
intern/draw_sculpt.hh
intern/draw_shader.h

View File

@@ -10,7 +10,7 @@
#include "draw_attributes.hh"
#include "draw_manager.h"
#include "draw_pbvh.h"
#include "draw_pbvh.hh"
#include "BKE_curve.hh"
#include "BKE_duplilist.h"

View File

@@ -52,7 +52,7 @@
#include "attribute_convert.hh"
#include "bmesh.h"
#include "draw_pbvh.h"
#include "draw_pbvh.hh"
#include "gpu_private.h"
#define MAX_PBVH_BATCH_KEY 512

View File

@@ -6,10 +6,6 @@
#include "DNA_customdata_types.h"
#ifdef __cplusplus
extern "C" {
#endif
struct PBVHBatches;
enum {
@@ -19,8 +15,4 @@ enum {
CD_PBVH_MASK_TYPE = CD_NUMTYPES + 3
};
int drw_pbvh_material_index_get(struct PBVHBatches *batches);
#ifdef __cplusplus
}
#endif
int drw_pbvh_material_index_get(PBVHBatches *batches);

View File

@@ -9,7 +9,7 @@
#include "draw_sculpt.hh"
#include "draw_attributes.hh"
#include "draw_pbvh.h"
#include "draw_pbvh.hh"
#include "BKE_mesh_types.hh"
#include "BKE_paint.hh"