Skip to content

Commit

Permalink
Added some additional info to the wrong side error message in C_AddVi…
Browse files Browse the repository at this point in the history
…ewRelOcclusion().
  • Loading branch information
danij committed Dec 15, 2007
1 parent 1265d56 commit 7042571
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/engine/portable/src/rend_clip.c
Expand Up @@ -952,7 +952,8 @@ void C_AddViewRelOcclusion(float *v1, float *v2, float height, boolean tophalf)

if(M_DotProduct(testPos, normal) < 0)
{
Con_Error("C_AddViewRelOcclusion: wrong side!\n");
Con_Error("C_AddViewRelOcclusion: Wrong side - [%g,%g]>[%g,%g] "
"view[%g,%g]!\n", v1[VX], v1[VY], v2[VX], v2[VY], vx, vz);
}
}
#endif
Expand Down

0 comments on commit 7042571

Please sign in to comment.