| 1234567891011121314151617181920212223242526272829303132 |
- $#include "Graphics/OctreeQuery.h"
- struct OctreeQueryResult
- {
- OctreeQueryResult();
- ~OctreeQueryResult();
-
- Drawable* drawable_ @ drawable;
- Node* node_ @ node;
- };
- enum RayQueryLevel
- {
- RAY_AABB = 0,
- RAY_OBB,
- RAY_TRIANGLE,
- RAY_TRIANGLE_UV
- };
- struct RayQueryResult
- {
- RayQueryResult();
- ~RayQueryResult();
-
- Vector3 position_ @ position;
- Vector3 normal_ @ normal;
- Vector2 textureUV_ @ textureUV;
- float distance_ @ distance;
- Drawable* drawable_ @ drawable;
- Node* node_ @ node;
- unsigned subObject_ @ subObject;
- };
|