Lines Matching refs:in

7  * to deal in the Software without restriction, including without limitation
15 * shall be included in all copies or substantial portions of the Software.
25 * Except as contained in this notice, the name of Silicon Graphics, Inc.
26 * shall not be used in advertising or otherwise to promote the sale, use or
27 * other dealings in this Software without prior written authorization from
149 static void __gluMultMatrixVecd(const GLdouble matrix[16], const GLdouble in[4],
156 in[0] * matrix[0*4+i] +
157 in[1] * matrix[1*4+i] +
158 in[2] * matrix[2*4+i] +
159 in[3] * matrix[3*4+i];
240 double in[4];
243 in[0]=objx;
244 in[1]=objy;
245 in[2]=objz;
246 in[3]=1.0;
247 __gluMultMatrixVecd(modelMatrix, in, out);
248 __gluMultMatrixVecd(projMatrix, out, in);
249 if (in[3] == 0.0) return(GL_FALSE);
250 in[0] /= in[3];
251 in[1] /= in[3];
252 in[2] /= in[3];
254 in[0] = in[0] * 0.5 + 0.5;
255 in[1] = in[1] * 0.5 + 0.5;
256 in[2] = in[2] * 0.5 + 0.5;
259 in[0] = in[0] * viewport[2] + viewport[0];
260 in[1] = in[1] * viewport[3] + viewport[1];
262 *winx=in[0];
263 *winy=in[1];
264 *winz=in[2];
276 double in[4];
282 in[0]=winx;
283 in[1]=winy;
284 in[2]=winz;
285 in[3]=1.0;
288 in[0] = (in[0] - viewport[0]) / viewport[2];
289 in[1] = (in[1] - viewport[1]) / viewport[3];
292 in[0] = in[0] * 2 - 1;
293 in[1] = in[1] * 2 - 1;
294 in[2] = in[2] * 2 - 1;
296 __gluMultMatrixVecd(finalMatrix, in, out);
317 double in[4];
323 in[0]=winx;
324 in[1]=winy;
325 in[2]=winz;
326 in[3]=clipw;
329 in[0] = (in[0] - viewport[0]) / viewport[2];
330 in[1] = (in[1] - viewport[1]) / viewport[3];
331 in[2] = (in[2] - nearVal) / (farVal - nearVal);
334 in[0] = in[0] * 2 - 1;
335 in[1] = in[1] * 2 - 1;
336 in[2] = in[2] * 2 - 1;
338 __gluMultMatrixVecd(finalMatrix, in, out);