DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ UpdatePathgraphRegionByObject()

void CGame::UpdatePathgraphRegionByObject ( Object object)
inlineprotected

См. определение в файле Global/game.c строка 1293

1294 {
1295 if ( object )
1296 {
1297 vector pos = object.GetPosition();
1298 vector min_max[2];
1299 float radius = object.ClippingInfo ( min_max );
1300 vector min = Vector ( pos[0] - radius, pos[1], pos[2] - radius );
1301 vector max = Vector ( pos[0] + radius, pos[1], pos[2] + radius );
1302 UpdatePathgraphRegion( min, max );
1303 }
1304 }
proto native void UpdatePathgraphRegion(vector regionMin, vector regionMax)
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

Перекрестные ссылки UpdatePathgraphRegion() и Vector().