Lines Matching refs:sd
903 GLfixed sd = dot4(equation.v, s->eye.v); in clip_triangle() local
908 if (sd >= 0) { in clip_triangle()
915 const GLfixed t = clipDivide(sd, sd-pd); in clip_triangle()
926 const GLfixed t = clipDivide(pd, pd-sd); in clip_triangle()
940 sd = pd; in clip_triangle()
968 GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_triangle() local
973 if (sd >= 0) { in clip_triangle()
980 const GLfixed t = clipDivide(sd, sd-pd); in clip_triangle()
991 const GLfixed t = clipDivide(pd, pd-sd); in clip_triangle()
1005 sd = pd; in clip_triangle()
1045 const GLfixed sd = dot4(equation.v, s->eye.v); in clip_line() local
1047 if (sd >= 0) { in clip_line()
1052 const GLfixed t = clipDivide(sd, sd-pd); in clip_line()
1059 const GLfixed t = clipDivide(pd, pd-sd); in clip_line()
1080 const GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_line() local
1082 if (sd >= 0) { in clip_line()
1087 const GLfixed t = clipDivide(sd, sd-pd); in clip_line()
1094 const GLfixed t = clipDivide(pd, pd-sd); in clip_line()