OctreeQuery.pkg 300 B

1234567891011121314151617
  1. $#include "OctreeQuery.h"
  2. enum RayQueryLevel
  3. {
  4. RAY_AABB_NOSUBOBJECTS = 0,
  5. RAY_AABB,
  6. RAY_OBB,
  7. RAY_TRIANGLE
  8. };
  9. struct RayQueryResult
  10. {
  11. Drawable* drawable_ @ drawable;
  12. Node* node_ @ node;
  13. float distance_ @ distance;
  14. unsigned subObject_ @ subObject;
  15. };