Home
last modified time | relevance | path

Searched refs:VectorSubtract (Results 1 – 25 of 41) sorted by relevance

12

/external/quake/quake/src/QW/client/
Dcl_cam.c168 VectorSubtract(trace.endpos, player->origin, v); in Cam_TryFlyby()
173 VectorSubtract(trace.endpos, self->origin, v); in Cam_TryFlyby()
194 VectorSubtract(player->origin, vec, v); in Cam_IsVisible()
221 VectorSubtract(vec2, right, vec2); in InitFlyby()
231 VectorSubtract(forward, right, vec2); in InitFlyby()
241 VectorSubtract(forward, up, vec2); in InitFlyby()
247 VectorSubtract(vec2, forward, vec2); in InitFlyby()
252 VectorSubtract(up, right, vec2); in InitFlyby()
253 VectorSubtract(vec2, forward, vec2); in InitFlyby()
259 VectorSubtract(vec3_origin, forward, vec2); in InitFlyby()
[all …]
Dpmovetst.c282 VectorSubtract (vec3_origin, plane->normal, trace->plane.normal); in PM_RecursiveHullCheck()
331 VectorSubtract (pe->mins, player_maxs, mins); in PM_TestPlayerPosition()
332 VectorSubtract (pe->maxs, player_mins, maxs); in PM_TestPlayerPosition()
336 VectorSubtract (pos, pe->origin, test); in PM_TestPlayerPosition()
374 VectorSubtract (pe->mins, player_maxs, mins); in PM_PlayerMove()
375 VectorSubtract (pe->maxs, player_mins, maxs); in PM_PlayerMove()
382 VectorSubtract (start, offset, start_l); in PM_PlayerMove()
383 VectorSubtract (end, offset, end_l); in PM_PlayerMove()
Dgl_test.c82 VectorSubtract (r_refdef.vieworg, origin, incoming); in Test_Spawn()
83 VectorSubtract (origin, incoming, temp); in Test_Spawn()
88 VectorSubtract (vec3_origin, incoming, p->reflect); in Test_Spawn()
Dr_main.c568 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawEntitiesOnList()
574 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawEntitiesOnList()
591 VectorSubtract (currententity->origin, in R_DrawEntitiesOnList()
647 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawViewModel()
670 VectorSubtract (currententity->origin, dl->origin, dist); in R_DrawViewModel()
796 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawBEntitiesOnList()
Dd_edge.c255 VectorSubtract (r_origin, currententity->origin, in D_DrawSurfaces()
293 VectorSubtract (r_origin, currententity->origin, local_modelorg); in D_DrawSurfaces()
Dgl_rmain.c520 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawAliasModel()
536 VectorSubtract (currententity->origin, in R_DrawAliasModel()
750 VectorSubtract (currententity->origin, dl->origin, dist); in R_DrawViewModel()
843 VectorSubtract (vpn, vright, frustum[1].normal); in R_SetFrustum()
846 VectorSubtract (vpn, vup, frustum[3].normal); in R_SetFrustum()
Dr_sprite.c46 VectorSubtract (modelorg, vec, modelorg); in R_RotateSprite()
201 VectorSubtract (pv, r_origin, local); in R_SetupAndDrawSprite()
Dmathlib.h42 #define VectorSubtract(a,b,c) {c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];} macro
Dd_part.c64 VectorSubtract (pparticle->org, r_origin, local); in D_DrawParticle()
Dr_draw.c103 VectorSubtract (world, modelorg, local); in R_EmitEdge()
132 VectorSubtract (world, modelorg, local); in R_EmitEdge()
832 VectorSubtract (verts[vertpage][i].position, modelorg, local); in R_RenderPoly()
Dgl_rlight.c106 VectorSubtract (light->origin, r_origin, v); in R_RenderDlight()
/external/quake/quake/src/WinQuake/
Dgl_test.cpp82 VectorSubtract (r_refdef.vieworg, origin, incoming); in Test_Spawn()
83 VectorSubtract (origin, incoming, temp); in Test_Spawn()
88 VectorSubtract (vec3_origin, incoming, p->reflect); in Test_Spawn()
Dworld.cpp147 VectorSubtract (maxs, mins, size); in SV_HullForEntity()
156 VectorSubtract (hull->clip_mins, mins, offset); in SV_HullForEntity()
162 VectorSubtract (ent->u.v.mins, maxs, hullmins); in SV_HullForEntity()
163 VectorSubtract (ent->u.v.maxs, mins, hullmaxs); in SV_HullForEntity()
221 VectorSubtract (maxs, mins, size); in SV_CreateAreaNode()
687 VectorSubtract (vec3_origin, plane->normal, trace->plane.normal); in SV_RecursiveHullCheck()
738 VectorSubtract (start, offset, start_l); in SV_ClipMoveToEntity()
739 VectorSubtract (end, offset, end_l); in SV_ClipMoveToEntity()
778 VectorSubtract (vec3_origin, ent->u.v.angles, a); in SV_ClipMoveToEntity()
Dr_main.cpp551 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawEntitiesOnList()
557 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawEntitiesOnList()
574 VectorSubtract (currententity->origin, in R_DrawEntitiesOnList()
630 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawViewModel()
653 VectorSubtract (currententity->origin, dl->origin, dist); in R_DrawViewModel()
783 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawBEntitiesOnList()
Dd_edge.cpp251 VectorSubtract (r_origin, currententity->origin, in D_DrawSurfaces()
288 VectorSubtract (r_origin, currententity->origin, local_modelorg); in D_DrawSurfaces()
Dchase.cpp83 VectorSubtract (stop, r_refdef.vieworg, stop); in Chase_Update()
Dr_sprite.cpp46 VectorSubtract (modelorg, vec, modelorg); in R_RotateSprite()
201 VectorSubtract (pv, r_origin, local); in R_SetupAndDrawSprite()
Dsv_phys.cpp587 VectorSubtract (vec3_origin, amove, a); in SV_PushRotate()
639 VectorSubtract (check->u.v.origin, pusher->u.v.origin, org); in SV_PushRotate()
643 VectorSubtract (org2, org, move); in SV_PushRotate()
683 VectorSubtract (moved_edict[i]->u.v.angles, amove, moved_edict[i]->u.v.angles); in SV_PushRotate()
883 VectorSubtract (ent->u.v.velocity, into, side); in SV_WallFriction()
1098 VectorSubtract (ent->u.v.velocity, ent->u.v.basevelocity, ent->u.v.velocity); in SV_Physics_Client()
1305 VectorSubtract (ent->u.v.velocity, ent->u.v.basevelocity, ent->u.v.velocity); in SV_Physics_Toss()
1430 VectorSubtract (ent->u.v.velocity, ent->u.v.basevelocity, ent->u.v.velocity); in SV_Physics_Step()
Dmathlib.h42 #define VectorSubtract(a,b,c) {c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];} macro
Dd_part.cpp64 VectorSubtract (pparticle->org, r_origin, local); in D_DrawParticle()
Dgl_rmain.cpp611 VectorSubtract (r_origin, r_entorigin, modelorg); in R_DrawAliasModel()
627 VectorSubtract (currententity->origin, in R_DrawAliasModel()
841 VectorSubtract (currententity->origin, dl->origin, dist); in R_DrawViewModel()
941 VectorSubtract (vpn, vright, frustum[1].normal); in R_SetFrustum()
944 VectorSubtract (vpn, vup, frustum[3].normal); in R_SetFrustum()
Dr_draw.cpp103 VectorSubtract (world, modelorg, local); in R_EmitEdge()
132 VectorSubtract (world, modelorg, local); in R_EmitEdge()
832 VectorSubtract (verts[vertpage][i].position, modelorg, local); in R_RenderPoly()
Dgl_warp.cpp271 VectorSubtract (v, r_origin, dir); in EmitSkyPolys()
296 VectorSubtract (v, r_origin, dir); in EmitSkyPolys()
966 VectorSubtract (p->verts[i], r_origin, verts[i]); in R_DrawSkyChain()
/external/quake/quake/src/QW/server/
Dworld.c147 VectorSubtract (maxs, mins, size); in SV_HullForEntity()
156 VectorSubtract (hull->clip_mins, mins, offset); in SV_HullForEntity()
162 VectorSubtract (ent->v.mins, maxs, hullmins); in SV_HullForEntity()
163 VectorSubtract (ent->v.maxs, mins, hullmaxs); in SV_HullForEntity()
210 VectorSubtract (maxs, mins, size); in SV_CreateAreaNode()
639 VectorSubtract (vec3_origin, plane->normal, trace->plane.normal); in SV_RecursiveHullCheck()
690 VectorSubtract (start, offset, start_l); in SV_ClipMoveToEntity()
691 VectorSubtract (end, offset, end_l); in SV_ClipMoveToEntity()
914 VectorSubtract (origin, offset, offset); in SV_TestPlayerPosition()
Dpr_cmds.c150 VectorSubtract (max, min, e->v.size); in PF_setsize()
190 VectorSubtract (mod->maxs, mod->mins, e->v.size); in PF_setmodel()
1215 VectorSubtract (end, start, dir); in PF_aim()
1230 VectorSubtract (bestent->v.origin, ent->v.origin, dir); in PF_aim()

12