Lines Matching refs:plane
839 GLfixed frustumPlaneDist(int plane, const vec4_t& s) in frustumPlaneDist() argument
841 const GLfixed d = s.v[ plane >> 1 ]; in frustumPlaneDist()
842 return ((plane & 1) ? (s.w - d) : (s.w + d)); in frustumPlaneDist()
891 unsigned int plane = 0; in clip_triangle() local
902 const vec4_t& equation = c->clipPlanes.plane[plane].equation; in clip_triangle()
950 plane++; in clip_triangle()
957 unsigned int plane = 0; in clip_triangle() local
968 GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_triangle()
972 const GLfixed pd = frustumPlaneDist(plane, p->clip); in clip_triangle()
1015 plane++; in clip_triangle()
1040 unsigned int plane = 0; in clip_line() local
1044 const vec4_t& equation = c->clipPlanes.plane[plane].equation; in clip_line()
1069 plane++; in clip_line()
1076 unsigned int plane = 0; in clip_line() local
1080 const GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_line()
1081 const GLfixed pd = frustumPlaneDist(plane, p->clip); in clip_line()
1104 plane++; in clip_line()