Home
last modified time | relevance | path

Searched refs:codes_or (Results 1 – 14 of 14) sorted by relevance

/dports/games/d2x/d2x-0.2.5/3d/
H A Ddraw.c49 bool must_clip_line(g3s_point *p0,g3s_point *p1,ubyte codes_or) in must_clip_line() argument
59 clip_line(&p0,&p1,codes_or); in must_clip_line()
78 ubyte codes_or; in g3_draw_line() local
83 codes_or = p0->p3_codes | p1->p3_codes; in g3_draw_line()
85 if (codes_or & CC_BEHIND) in g3_draw_line()
86 return must_clip_line(p0,p1,codes_or); in g3_draw_line()
92 return must_clip_line(p0,p1,codes_or); in g3_draw_line()
99 return must_clip_line(p0,p1,codes_or); in g3_draw_line()
H A Dclipper.h35 extern void clip_line(g3s_point **p0,g3s_point **p1,ubyte codes_or);
H A Dclipper.c133 void clip_line(g3s_point **p0,g3s_point **p1,ubyte codes_or) in clip_line() argument
143 if (codes_or & plane_flag) { in clip_line()
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/3d/
H A Ddraw.cpp36 static void must_clip_line(grs_canvas &canvas, g3s_point *p0, g3s_point *p1, const uint8_t codes_or in must_clip_line() argument
41 clip_line(p0,p1,codes_or,tp); in must_clip_line()
63 ubyte codes_or; in g3_draw_line() local
68 codes_or = p0.p3_codes | p1.p3_codes; in g3_draw_line()
71 (codes_or & CC_BEHIND) || in g3_draw_line()
75 return must_clip_line(canvas, &p0,&p1, codes_or, color, tp); in g3_draw_line()
H A Dclipper.h41 void clip_line(g3s_point *&p0,g3s_point *&p1,uint_fast8_t codes_or,temporary_points_t &);
H A Dclipper.cpp117 void clip_line(g3s_point *&p0,g3s_point *&p1,const uint_fast8_t codes_or, temporary_points_t &tp) in clip_line() argument
124 if (codes_or & plane_flag) { in clip_line()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/render/
H A D3dclipper.cpp178 void clip_line(vertex **p0,vertex **p1,ubyte codes_or, uint flags) in clip_line() argument
184 if (codes_or & plane_flag) { in clip_line()
192 codes_or = (unsigned char)((*p0)->codes | (*p1)->codes); //get new codes in clip_line()
H A D3dinternal.h29 extern void clip_line(vertex **p0,vertex **p1,ubyte codes_or, uint flags);
H A D3ddraw.cpp26 int must_clip_line(vertex *p0, vertex *p1, ubyte codes_or, uint flags) in must_clip_line() argument
30 clip_line(&p0, &p1, codes_or, flags); in must_clip_line()
34 codes_or = (unsigned char)(p0->codes | p1->codes); in must_clip_line()
36 if (codes_or & CC_BEHIND) goto free_points; in must_clip_line()
77 ubyte codes_or; in g3_draw_line() local
84 codes_or = (unsigned char)(p0->codes | p1->codes); in g3_draw_line()
86 if (codes_or & CC_BEHIND) in g3_draw_line()
87 return must_clip_line(p0,p1,codes_or,0); in g3_draw_line()
93 return must_clip_line(p0,p1,codes_or,0); in g3_draw_line()
100 return must_clip_line(p0,p1,codes_or,0); in g3_draw_line()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/render/
H A D3dclipper.cpp197 void clip_line(vertex **p0,vertex **p1,ubyte codes_or, uint flags) in clip_line() argument
203 if (codes_or & plane_flag) { in clip_line()
211 codes_or = (unsigned char)((*p0)->codes | (*p1)->codes); //get new codes in clip_line()
H A D3dinternal.h30 extern void clip_line(vertex **p0,vertex **p1,ubyte codes_or, uint flags);
H A D3ddraw.cpp71 int must_clip_line(vertex *p0,vertex *p1,ubyte codes_or, uint flags) in must_clip_line() argument
75 clip_line(&p0,&p1,codes_or, flags); in must_clip_line()
79 codes_or = (unsigned char)(p0->codes | p1->codes); in must_clip_line()
81 if (codes_or & CC_BEHIND) goto free_points; in must_clip_line()
122 ubyte codes_or; in g3_draw_line() local
129 codes_or = (unsigned char)(p0->codes | p1->codes); in g3_draw_line()
131 if (codes_or & CC_BEHIND) in g3_draw_line()
132 return must_clip_line(p0,p1,codes_or,0); in g3_draw_line()
138 return must_clip_line(p0,p1,codes_or,0); in g3_draw_line()
145 return must_clip_line(p0,p1,codes_or,0); in g3_draw_line()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/
H A Dhudtarget.cpp6385 ubyte codes_or; in calculatePosition() local
6386 codes_or = (ubyte)(target_point->codes | eye_vertex->codes); in calculatePosition()
6387 clip_line(&target_point,&eye_vertex,codes_or,0); in calculatePosition()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/
H A Dhudtarget.cpp6343 ubyte codes_or; in calculatePosition() local
6344 codes_or = (ubyte)(target_point->codes | eye_vertex->codes); in calculatePosition()
6345 clip_line(&target_point,&eye_vertex,codes_or,0); in calculatePosition()