mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
fahhh
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user