Lines Matching refs:vertex_t
54 void perspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in perspective()
83 void clipFrustumPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in clipFrustumPerspective()
89 uint32_t clip = v->flags & vertex_t::CLIP_ALL; in clipFrustumPerspective()
91 if (v->clip.x < -w) clip |= vertex_t::CLIP_L; in clipFrustumPerspective()
92 if (v->clip.x > w) clip |= vertex_t::CLIP_R; in clipFrustumPerspective()
93 if (v->clip.y < -w) clip |= vertex_t::CLIP_B; in clipFrustumPerspective()
94 if (v->clip.y > w) clip |= vertex_t::CLIP_T; in clipFrustumPerspective()
95 if (v->clip.z < -w) clip |= vertex_t::CLIP_N; in clipFrustumPerspective()
96 if (v->clip.z > w) clip |= vertex_t::CLIP_F; in clipFrustumPerspective()
110 void clipAllPerspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in clipAllPerspective()
115 v->flags |= vertex_t::EYE; in clipAllPerspective()
136 void ogles_vertex_project(ogles_context_t* c, vertex_t* v) { in ogles_vertex_project()
140 void ogles_vertex_perspective2D(ogles_context_t* c, vertex_t* v) in ogles_vertex_perspective2D()
151 void ogles_vertex_perspective3DZ(ogles_context_t* c, vertex_t* v) { in ogles_vertex_perspective3DZ()
154 void ogles_vertex_perspective3D(ogles_context_t* c, vertex_t* v) { in ogles_vertex_perspective3D()
157 void ogles_vertex_clipAllPerspective3DZ(ogles_context_t* c, vertex_t* v) { in ogles_vertex_clipAllPerspective3DZ()
160 void ogles_vertex_clipAllPerspective3D(ogles_context_t* c, vertex_t* v) { in ogles_vertex_clipAllPerspective3D()