Lines Matching refs:cw
62 const GLfloat cw = from[3]; in TAG() local
66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG()
67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG()
68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG()
69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG()
71 mask |= (((cw < cz) << CLIP_FAR_SHIFT)); in TAG()
72 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT)); in TAG()
76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG()
77 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG()
78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG()
79 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; in TAG()
81 if (-cz + cw < 0) mask |= CLIP_FAR_BIT; in TAG()
82 if ( cz + cw < 0) mask |= CLIP_NEAR_BIT; in TAG()
96 GLfloat oow = 1.0F / cw; in TAG()
142 const GLfloat cw = from[3]; in TAG() local
146 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG()
147 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG()
148 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG()
149 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG()
151 mask |= (((cw < cz) << CLIP_FAR_SHIFT)); in TAG()
152 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT)); in TAG()
156 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG()
157 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG()
158 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG()
159 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; in TAG()
161 if (-cz + cw < 0) mask |= CLIP_FAR_BIT; in TAG()
162 if ( cz + cw < 0) mask |= CLIP_NEAR_BIT; in TAG()