/external/quake/quake/src/QW/client/ |
r_bsp.c | 68 vec[0] = DotProduct (entity_rotation[0], tvec); 69 vec[1] = DotProduct (entity_rotation[1], tvec); 70 vec[2] = DotProduct (entity_rotation[2], tvec); 175 DotProduct(r_entorigin, splitplane->normal); 176 tplane.normal[0] = DotProduct (entity_rotation[0], splitplane->normal); 177 tplane.normal[1] = DotProduct (entity_rotation[1], splitplane->normal); 178 tplane.normal[2] = DotProduct (entity_rotation[2], splitplane->normal); 188 lastdist = DotProduct (plastvert->position, tplane.normal) - 198 dist = DotProduct (pvert->position, tplane.normal) - tplane.dist; 350 dot = DotProduct (modelorg, pplane->normal) - pplane->dist [all...] |
d_part.c | 66 transformed[0] = DotProduct(local, r_pright); 67 transformed[1] = DotProduct(local, r_pup); 68 transformed[2] = DotProduct(local, r_ppn);
|
r_alias.c | 255 out[0] = DotProduct(in, aliastransform[0]) + aliastransform[0][3]; 256 out[1] = DotProduct(in, aliastransform[1]) + aliastransform[1][3]; 257 out[2] = DotProduct(in, aliastransform[2]) + aliastransform[2][3]; 421 av->fv[0] = DotProduct(pverts->v, aliastransform[0]) + 423 av->fv[1] = DotProduct(pverts->v, aliastransform[1]) + 425 av->fv[2] = DotProduct(pverts->v, aliastransform[2]) + 435 lightcos = DotProduct (plightnormal, r_plightvec); 470 zi = 1.0 / (DotProduct(pverts->v, aliastransform[2]) + 478 fv->v[0] = ((DotProduct(pverts->v, aliastransform[0]) + 480 fv->v[1] = ((DotProduct(pverts->v, aliastransform[1]) [all...] |
r_light.c | 80 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist; 163 front = DotProduct (start, plane->normal) - plane->dist; 164 back = DotProduct (end, plane->normal) - plane->dist; 193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; 194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
|
gl_rlight.c | 200 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist; 289 front = DotProduct (start, plane->normal) - plane->dist; 290 back = DotProduct (end, plane->normal) - plane->dist; 321 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; 322 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
|
pmovetst.c | 110 d = DotProduct (plane->normal, p) - plane->dist;
149 d = DotProduct (plane->normal, p) - plane->dist;
219 t1 = DotProduct (plane->normal, p1) - plane->dist;
220 t2 = DotProduct (plane->normal, p2) - plane->dist;
|
r_misc.c | 366 view_clipplanes[i].dist = DotProduct (modelorg, v2); 380 out[0] = DotProduct(in,vright); 381 out[1] = DotProduct(in,vup); 382 out[2] = DotProduct(in,vpn); 397 d = DotProduct (r_origin, p->normal);
|
pmove.c | 84 backoff = DotProduct (in, normal) * overbounce; 186 if (DotProduct (pmove.velocity, planes[j]) < 0) 205 d = DotProduct (dir, pmove.velocity); 213 if (DotProduct (pmove.velocity, primal_velocity) <= 0) 400 currentspeed = DotProduct (pmove.velocity, wishdir); 424 currentspeed = DotProduct (pmove.velocity, wishdir); 836 currentspeed = DotProduct(pmove.velocity, wishdir);
|
r_draw.c | 268 d0 = DotProduct (pv0->position, clip->normal) - clip->dist; 269 d1 = DotProduct (pv1->position, clip->normal) - clip->dist; 566 distinv = 1.0 / (pplane->dist - DotProduct (modelorg, pplane->normal)); 681 distinv = 1.0 / (pplane->dist - DotProduct (modelorg, pplane->normal)); 756 lastdist = DotProduct (verts[vertpage][lastvert].position, 765 dist = DotProduct (verts[vertpage][i].position, pclip->normal) - 897 dot = DotProduct (modelorg, pplane->normal) - pplane->dist;
|
d_sprite.c | 353 distinv = 1.0 / (-DotProduct (modelorg, r_spritedesc.vpn)); 373 sadjust = ((fixed16_t)(DotProduct (p_temp1, p_saxis) * 0x10000 + 0.5)) - 375 tadjust = ((fixed16_t)(DotProduct (p_temp1, p_taxis) * 0x10000 + 0.5)) -
|
gl_rsurf.c | 89 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) - 103 local[0] = DotProduct (impact, tex->vecs[0]) + tex->vecs[0][3]; 104 local[1] = DotProduct (impact, tex->vecs[1]) + tex->vecs[1][3]; 1152 modelorg[0] = DotProduct (temp, forward); 1153 modelorg[1] = -DotProduct (temp, right); 1154 modelorg[2] = DotProduct (temp, up); 1187 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; 1275 dot = DotProduct (modelorg, plane->normal) - plane->dist; 1521 s = DotProduct (vec, fa->texinfo->vecs[0]) + fa->texinfo->vecs[0][3]; 1524 t = DotProduct (vec, fa->texinfo->vecs[1]) + fa->texinfo->vecs[1][3] [all...] |
mathlib.h | 41 #define DotProduct(x,y) (x[0]*y[0]+x[1]*y[1]+x[2]*y[2])
|
/external/quake/quake/src/WinQuake/ |
r_bsp.cpp | 68 vec[0] = DotProduct (entity_rotation[0], tvec);
69 vec[1] = DotProduct (entity_rotation[1], tvec);
70 vec[2] = DotProduct (entity_rotation[2], tvec);
175 DotProduct(r_entorigin, splitplane->normal);
176 tplane.normal[0] = DotProduct (entity_rotation[0], splitplane->normal);
177 tplane.normal[1] = DotProduct (entity_rotation[1], splitplane->normal);
178 tplane.normal[2] = DotProduct (entity_rotation[2], splitplane->normal);
188 lastdist = DotProduct (plastvert->position, tplane.normal) -
198 dist = DotProduct (pvert->position, tplane.normal) - tplane.dist;
350 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; [all...] |
d_part.cpp | 66 transformed[0] = DotProduct(local, r_pright);
67 transformed[1] = DotProduct(local, r_pup);
68 transformed[2] = DotProduct(local, r_ppn);
|
r_alias.cpp | 255 out[0] = DotProduct(in, aliastransform[0]) + aliastransform[0][3];
256 out[1] = DotProduct(in, aliastransform[1]) + aliastransform[1][3];
257 out[2] = DotProduct(in, aliastransform[2]) + aliastransform[2][3];
421 av->fv[0] = DotProduct(pverts->v, aliastransform[0]) +
423 av->fv[1] = DotProduct(pverts->v, aliastransform[1]) +
425 av->fv[2] = DotProduct(pverts->v, aliastransform[2]) +
435 lightcos = DotProduct (plightnormal, r_plightvec);
470 zi = 1.0 / (DotProduct(pverts->v, aliastransform[2]) +
478 fv->v[0] = ((DotProduct(pverts->v, aliastransform[0]) +
480 fv->v[1] = ((DotProduct(pverts->v, aliastransform[1]) + [all...] |
r_light.cpp | 80 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist;
163 front = DotProduct (start, plane->normal) - plane->dist;
164 back = DotProduct (end, plane->normal) - plane->dist;
193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3];
194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
|
chase.cpp | 84 dist = DotProduct (stop, forward);
|
gl_rlight.cpp | 203 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist;
292 front = DotProduct (start, plane->normal) - plane->dist;
293 back = DotProduct (end, plane->normal) - plane->dist;
324 s = (int) (DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]);
325 t = (int) (DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3]);
|
r_misc.cpp | 290 view_clipplanes[i].dist = DotProduct (modelorg, v2);
304 out[0] = DotProduct(in,vright);
305 out[1] = DotProduct(in,vup);
306 out[2] = DotProduct(in,vpn);
321 d = DotProduct (r_origin, p->normal);
|
world.cpp | 508 d = DotProduct (plane->normal, p) - plane->dist; 624 t1 = DotProduct (plane->normal, p1) - plane->dist; 625 t2 = DotProduct (plane->normal, p2) - plane->dist; 753 start_l[0] = DotProduct (temp, forward); 754 start_l[1] = -DotProduct (temp, right); 755 start_l[2] = DotProduct (temp, up); 758 end_l[0] = DotProduct (temp, forward); 759 end_l[1] = -DotProduct (temp, right); 760 end_l[2] = DotProduct (temp, up); 782 trace.endpos[0] = DotProduct (temp, forward) [all...] |
r_draw.cpp | 268 d0 = DotProduct (pv0->position, clip->normal) - clip->dist;
269 d1 = DotProduct (pv1->position, clip->normal) - clip->dist;
566 distinv = 1.0 / (pplane->dist - DotProduct (modelorg, pplane->normal));
681 distinv = 1.0 / (pplane->dist - DotProduct (modelorg, pplane->normal));
756 lastdist = DotProduct (verts[vertpage][lastvert].position,
765 dist = DotProduct (verts[vertpage][i].position, pclip->normal) -
897 dot = DotProduct (modelorg, pplane->normal) - pplane->dist;
|
d_sprite.cpp | 353 distinv = 1.0 / (-DotProduct (modelorg, r_spritedesc.vpn));
373 sadjust = ((fixed16_t)(DotProduct (p_temp1, p_saxis) * 0x10000 + 0.5)) -
375 tadjust = ((fixed16_t)(DotProduct (p_temp1, p_taxis) * 0x10000 + 0.5)) -
|
mathlib.h | 41 #define DotProduct(x,y) (x[0]*y[0]+x[1]*y[1]+x[2]*y[2])
|
/external/skia/include/core/ |
SkPoint.h | 123 static int32_t DotProduct(const SkIPoint& a, const SkIPoint& b) { 418 static SkScalar DotProduct(const SkPoint& a, const SkPoint& b) { 433 return DotProduct(*this, vec); 437 return DotProduct(*this, *this);
|
/external/skia/legacy/include/core/ |
SkPoint.h | 125 static int32_t DotProduct(const SkIPoint& a, const SkIPoint& b) { 365 static SkScalar DotProduct(const SkPoint& a, const SkPoint& b) { 380 return DotProduct(*this, vec); 384 return DotProduct(*this, *this);
|