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

◆ SnapToGround()

vector DayZIntroScene::SnapToGround ( vector pos)
inlineprotected

См. определение в файле DayZIntroScene.c строка 185

186 {
187 float pos_x = pos[0];
188 float pos_z = pos[2];
189 float pos_y = g_Game.SurfaceY(pos_x, pos_z);
190 vector tmp_pos = Vector(pos_x, pos_y, pos_z);
191 tmp_pos[1] = tmp_pos[1] + pos[1];
192
193 return tmp_pos;
194 }
DayZGame g_Game
Определения DayZGame.c:4074
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

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

Используется в SetScene().