xs_projpoint_onplane
- Синтаксис
-
stock xs_projpoint_onplane(const Float:plane[], const Float:point[], Float:out[]) { new Float:__tmp[3]; // out = point - (plane normal * distance point<->plane) xs_vec_copy(plane, __tmp); xs_vec_mul_scalar(__tmp, xs_plane_dst2point(plane, point), __tmp); xs_vec_sub(point, __tmp, out); }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- This function has no description.