AMX Mod X API Documentation

Signature
stock Float:xs_plane_dst2point(const Float:plane[], const Float:point[]){ // return normal dot point + D return xs_vec_dot(plane, point) + plane[XS_PLANE_D];}
Description

Computes the distance between a plane and a point.

Parameters
  • plane The plane to check the distance from.
  • point The point to check the distance to.
Returns

The distance between the input plane and point.

Назад
Верх