1 2 #ifndef B3_BVH_SUBTREE_INFO_DATA_H 3 #define B3_BVH_SUBTREE_INFO_DATA_H 4 5 typedef struct b3BvhSubtreeInfoData b3BvhSubtreeInfoData_t; 6 7 struct b3BvhSubtreeInfoData 8 { 9 //12 bytes 10 unsigned short int m_quantizedAabbMin[3]; 11 unsigned short int m_quantizedAabbMax[3]; 12 //4 bytes, points to the root of the subtree 13 int m_rootNodeIndex; 14 //4 bytes 15 int m_subtreeSize; 16 int m_padding[3]; 17 }; 18 19 #endif //B3_BVH_SUBTREE_INFO_DATA_H 20