rendered paste bodytypedef float vec_t;
typedef vec_t vec2_t[2];
typedef vec_t vec3_t[3];
...
void ProjectPointOnPlane (vec3_t dst, const vec3_t point, const vec3_t normal)
{
float distance;
+--- 7 lines: #if 0------------------------------------------------------------
distance = DotProduct(normal, point);
+--- 5 lines: #if 0------------------------------------------------------------
dst[0] = point[0] - distance * normal[0];
dst[1] = point[1] - distance * normal[1];
dst[2] = point[2] - distance * normal[2];
}