fm_distance_to_box
- Синтаксис
-
stock Float:fm_distance_to_box(const Float:point[3], const Float:mins[3], const Float:maxs[3]) { new Float:dist[3]; for (new i = 0; i < 3; ++i) { if (point[i] > maxs[i]) dist[i] = point[i] - maxs[i]; else if (mins[i] > point[i]) dist[i] = mins[i] - point[i]; } return vector_length(dist); }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- This function has no description.