Welcome to mirror list, hosted at ThFree Co, Russian Federation.

editbmesh_bvh.h « mesh « editors « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fbbf26b24e07512e9b31d3c5988d0ea8d758bd13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct BMEditMesh;
struct BMFace;
struct BMEdge;
struct BMVert;
struct RegionView3D;

struct BMBVHTree;
typedef struct BMBVHTree BMBVHTree;

BMBVHTree *BMBVH_NewBVH(struct BMEditMesh *em);
void BMBVH_FreeBVH(BMBVHTree *tree);

struct BMFace *BMBVH_RayCast(BMBVHTree *tree, float *co, float *dir, float *hitout);
int BMBVH_EdgeVisible(BMBVHTree *tree, struct BMEdge *e, 
                      struct RegionView3D *r3d, struct Object *obedit);