Lines Matching refs:sd
902 GLfixed sd = dot4(equation.v, s->eye.v); in clip_triangle() local
907 if (sd >= 0) { in clip_triangle()
914 const GLfixed t = clipDivide(sd, sd-pd); in clip_triangle()
925 const GLfixed t = clipDivide(pd, pd-sd); in clip_triangle()
939 sd = pd; in clip_triangle()
967 GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_triangle() local
972 if (sd >= 0) { in clip_triangle()
979 const GLfixed t = clipDivide(sd, sd-pd); in clip_triangle()
990 const GLfixed t = clipDivide(pd, pd-sd); in clip_triangle()
1004 sd = pd; in clip_triangle()
1044 const GLfixed sd = dot4(equation.v, s->eye.v); in clip_line() local
1046 if (sd >= 0) { in clip_line()
1051 const GLfixed t = clipDivide(sd, sd-pd); in clip_line()
1058 const GLfixed t = clipDivide(pd, pd-sd); in clip_line()
1079 const GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_line() local
1081 if (sd >= 0) { in clip_line()
1086 const GLfixed t = clipDivide(sd, sd-pd); in clip_line()
1093 const GLfixed t = clipDivide(pd, pd-sd); in clip_line()