|
@@ -12,7 +12,7 @@ JPH_NAMESPACE_BEGIN
|
|
class Body;
|
|
class Body;
|
|
|
|
|
|
/// Class function to filter out bodies, returns true if test should collide with body
|
|
/// Class function to filter out bodies, returns true if test should collide with body
|
|
-class BodyFilter : public NonCopyable
|
|
|
|
|
|
+class JPH_EXPORT BodyFilter : public NonCopyable
|
|
{
|
|
{
|
|
public:
|
|
public:
|
|
/// Destructor
|
|
/// Destructor
|
|
@@ -32,7 +32,7 @@ public:
|
|
};
|
|
};
|
|
|
|
|
|
/// A simple body filter implementation that ignores a single, specified body
|
|
/// A simple body filter implementation that ignores a single, specified body
|
|
-class IgnoreSingleBodyFilter : public BodyFilter
|
|
|
|
|
|
+class JPH_EXPORT IgnoreSingleBodyFilter : public BodyFilter
|
|
{
|
|
{
|
|
public:
|
|
public:
|
|
/// Constructor, pass the body you want to ignore
|
|
/// Constructor, pass the body you want to ignore
|
|
@@ -52,7 +52,7 @@ private:
|
|
};
|
|
};
|
|
|
|
|
|
/// A simple body filter implementation that ignores multiple, specified bodies
|
|
/// A simple body filter implementation that ignores multiple, specified bodies
|
|
-class IgnoreMultipleBodiesFilter : public BodyFilter
|
|
|
|
|
|
+class JPH_EXPORT IgnoreMultipleBodiesFilter : public BodyFilter
|
|
{
|
|
{
|
|
public:
|
|
public:
|
|
/// Remove all bodies from the filter
|
|
/// Remove all bodies from the filter
|
|
@@ -85,7 +85,7 @@ private:
|
|
|
|
|
|
#ifdef JPH_DEBUG_RENDERER
|
|
#ifdef JPH_DEBUG_RENDERER
|
|
/// Class function to filter out bodies for debug rendering, returns true if body should be rendered
|
|
/// Class function to filter out bodies for debug rendering, returns true if body should be rendered
|
|
-class BodyDrawFilter : public NonCopyable
|
|
|
|
|
|
+class JPH_EXPORT BodyDrawFilter : public NonCopyable
|
|
{
|
|
{
|
|
public:
|
|
public:
|
|
/// Destructor
|
|
/// Destructor
|