mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-10 02:46:06 +00:00
Fix ReSharper warnings: remove unused methods
This commit is contained in:
@@ -29,9 +29,7 @@ template<class T> class dtFixedArray
|
||||
dtTileCacheAlloc* m_alloc;
|
||||
T* m_ptr;
|
||||
const int m_size;
|
||||
inline T* operator=(T* p);
|
||||
inline void operator=(dtFixedArray<T>& p);
|
||||
inline dtFixedArray();
|
||||
public:
|
||||
inline dtFixedArray(dtTileCacheAlloc* a, const int s) : m_alloc(a), m_ptr((T*)a->alloc(sizeof(T)*s)), m_size(s) {}
|
||||
inline ~dtFixedArray() { if (m_alloc) m_alloc->free(m_ptr); }
|
||||
|
||||
@@ -123,7 +123,6 @@ public:
|
||||
template<class T> class rcScopedDelete
|
||||
{
|
||||
T* ptr;
|
||||
inline T* operator=(T* p);
|
||||
public:
|
||||
|
||||
/// Constructs an instance with a null pointer.
|
||||
|
||||
@@ -126,9 +126,6 @@ class CrowdTool : public SampleTool
|
||||
};
|
||||
ToolMode m_mode;
|
||||
|
||||
void updateAgentParams();
|
||||
void updateTick(const float dt);
|
||||
|
||||
public:
|
||||
CrowdTool();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user