Blender V4.3
bvh2.h File Reference
#include "bvh/bvh.h"
#include "bvh/params.h"
#include "util/types.h"
#include "util/vector.h"

Go to the source code of this file.

Classes

struct  BVHStackEntry
 
class  BVH2
 

Macros

#define BVH_NODE_SIZE   4
 
#define BVH_NODE_LEAF_SIZE   1
 
#define BVH_UNALIGNED_NODE_SIZE   7
 

Macro Definition Documentation

◆ BVH_NODE_LEAF_SIZE

#define BVH_NODE_LEAF_SIZE   1

Definition at line 20 of file bvh2.h.

Referenced by BVH2::pack_instances(), BVH2::pack_leaf(), BVH2::pack_nodes(), and BVH2::refit_node().

◆ BVH_NODE_SIZE

#define BVH_NODE_SIZE   4

◆ BVH_UNALIGNED_NODE_SIZE

#define BVH_UNALIGNED_NODE_SIZE   7

Definition at line 21 of file bvh2.h.

Referenced by BVH2::pack_instances(), BVH2::pack_nodes(), and BVH2::pack_unaligned_node().