mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 02:58:46 +02:00
30 lines
714 B
C++
30 lines
714 B
C++
// Copyright (C) 2007 Id Software, Inc.
|
|
//
|
|
|
|
#ifndef __AASCALLBACK_FINDAREAOUTOFRANGE_H__
|
|
#define __AASCALLBACK_FINDAREAOUTOFRANGE_H__
|
|
|
|
#include "AASCallback_AvoidLocation.h"
|
|
|
|
/*
|
|
===============================================================================
|
|
|
|
idAASCallback_FindAreaOutOfRange
|
|
|
|
===============================================================================
|
|
*/
|
|
|
|
class idAASCallback_FindAreaOutOfRange : public idAASCallback_AvoidLocation
|
|
{
|
|
public:
|
|
idAASCallback_FindAreaOutOfRange( const idVec3& targetPos, float maxDist );
|
|
|
|
virtual bool AreaIsGoal( const idAAS* aas, int areaNum );
|
|
|
|
private:
|
|
idVec3 targetPos;
|
|
float maxDistSqr;
|
|
};
|
|
|
|
#endif /* !__AASCALLBACK_FINDAREAOUTOFRANGE_H__ */
|