Blender  V3.3
Public Member Functions | Public Attributes | List of all members
BVHStackEntry Struct Reference

#include <bvh2.h>

Public Member Functions

 BVHStackEntry (const BVHNode *n=0, int i=0)
 
int encodeIdx () const
 

Public Attributes

const BVHNodenode
 
int idx
 

Detailed Description

Definition at line 21 of file bvh2.h.

Constructor & Destructor Documentation

◆ BVHStackEntry()

CCL_NAMESPACE_BEGIN BVHStackEntry::BVHStackEntry ( const BVHNode n = 0,
int  i = 0 
)

Definition at line 21 of file bvh2.cpp.

Member Function Documentation

◆ encodeIdx()

int BVHStackEntry::encodeIdx ( ) const

Definition at line 25 of file bvh2.cpp.

References idx, BVHNode::is_leaf(), and node.

Referenced by BVH2::pack_aligned_inner(), and BVH2::pack_unaligned_inner().

Member Data Documentation

◆ idx

int BVHStackEntry::idx

Definition at line 23 of file bvh2.h.

Referenced by encodeIdx().

◆ node

const BVHNode* BVHStackEntry::node

The documentation for this struct was generated from the following files: