b3BvhSubtreeInfoData.h 420 B

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