Lines Matching refs:plane
838 GLfixed frustumPlaneDist(int plane, const vec4_t& s) in frustumPlaneDist() argument
840 const GLfixed d = s.v[ plane >> 1 ]; in frustumPlaneDist()
841 return ((plane & 1) ? (s.w - d) : (s.w + d)); in frustumPlaneDist()
890 unsigned int plane = 0; in clip_triangle() local
901 const vec4_t& equation = c->clipPlanes.plane[plane].equation; in clip_triangle()
949 plane++; in clip_triangle()
956 unsigned int plane = 0; in clip_triangle() local
967 GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_triangle()
971 const GLfixed pd = frustumPlaneDist(plane, p->clip); in clip_triangle()
1014 plane++; in clip_triangle()
1039 unsigned int plane = 0; in clip_line() local
1043 const vec4_t& equation = c->clipPlanes.plane[plane].equation; in clip_line()
1068 plane++; in clip_line()
1075 unsigned int plane = 0; in clip_line() local
1079 const GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_line()
1080 const GLfixed pd = frustumPlaneDist(plane, p->clip); in clip_line()
1103 plane++; in clip_line()