mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
Added bot code.
This commit is contained in:
@@ -273,3 +273,16 @@ void idAASLocal::GetEdge( int edgeNum, idVec3 &start, idVec3 &end ) const {
|
||||
start = file->GetVertex( v[INTSIGNBITSET(edgeNum)] );
|
||||
end = file->GetVertex( v[INTSIGNBITNOTSET(edgeNum)] );
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
============
|
||||
idAASLocal::AdjustPositionAndGetArea
|
||||
============
|
||||
*/
|
||||
int idAASLocal::AdjustPositionAndGetArea(idVec3& origin)
|
||||
{
|
||||
int area = PointReachableAreaNum(origin, DefaultSearchBounds(), AREA_REACHABLE_WALK);
|
||||
PushPointIntoAreaNum(area, origin);
|
||||
return area;
|
||||
}
|
||||
Reference in New Issue
Block a user