Lines Matching refs:pd
907 const GLfixed pd = dot4(equation.v, p->eye.v); in clip_triangle() local
909 if (pd >= 0) { in clip_triangle()
915 const GLfixed t = clipDivide(sd, sd-pd); in clip_triangle()
923 if (pd >= 0) { in clip_triangle()
925 if (pd) { in clip_triangle()
926 const GLfixed t = clipDivide(pd, pd-sd); in clip_triangle()
940 sd = pd; in clip_triangle()
972 const GLfixed pd = frustumPlaneDist(plane, p->clip); in clip_triangle() local
974 if (pd >= 0) { in clip_triangle()
980 const GLfixed t = clipDivide(sd, sd-pd); in clip_triangle()
988 if (pd >= 0) { in clip_triangle()
990 if (pd) { in clip_triangle()
991 const GLfixed t = clipDivide(pd, pd-sd); in clip_triangle()
1005 sd = pd; in clip_triangle()
1046 const GLfixed pd = dot4(equation.v, p->eye.v); in clip_line() local
1048 if (pd >= 0) { in clip_line()
1052 const GLfixed t = clipDivide(sd, sd-pd); in clip_line()
1056 if (pd >= 0) { in clip_line()
1058 if (pd) { in clip_line()
1059 const GLfixed t = clipDivide(pd, pd-sd); in clip_line()
1081 const GLfixed pd = frustumPlaneDist(plane, p->clip); in clip_line() local
1083 if (pd >= 0) { in clip_line()
1087 const GLfixed t = clipDivide(sd, sd-pd); in clip_line()
1091 if (pd >= 0) { in clip_line()
1093 if (pd) { in clip_line()
1094 const GLfixed t = clipDivide(pd, pd-sd); in clip_line()