git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9683
d7cf8633-e32d-0410-b094-
e92efae38249
plane[1] = node->plane[1];
plane[2] = node->plane[2];
plane[3] = node->plane[3];
plane[1] = node->plane[1];
plane[2] = node->plane[2];
plane[3] = node->plane[3];
- d = SVBSP_DotProduct(points, plane) >= plane[3];
+ d = SVBSP_DotProduct(points, plane) - plane[3];
if (d >= SVBSP_CLIP_EPSILON)
{
for (i = 1;i < numpoints && SVBSP_DotProduct(points + i * 3, plane) - plane[3] >= SVBSP_CLIP_EPSILON;i++);
if (d >= SVBSP_CLIP_EPSILON)
{
for (i = 1;i < numpoints && SVBSP_DotProduct(points + i * 3, plane) - plane[3] >= SVBSP_CLIP_EPSILON;i++);