This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+22
View File
@@ -0,0 +1,22 @@
#pragma once
namespace RBX {
class Primitive;
// Fail: Stop the hit test - don't bore any further down
// Ignore: Keep testing
// Hit: Found something
class HitTestFilter {
public:
typedef enum Result { STOP_TEST,
IGNORE_PRIM,
INCLUDE_PRIM} Result;
virtual Result filterResult(const Primitive* testMe) const = 0;
virtual ~HitTestFilter()
{}
};
} // namespace