Home
last modified time | relevance | path

Searched refs:normal (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/external/quake/quake/src/WinQuake/
Dmathlib.cpp34 void ProjectPointOnPlane( vec3_t dst, const vec3_t p, const vec3_t normal ) in ProjectPointOnPlane() argument
40 inv_denom = 1.0F / DotProduct( normal, normal ); in ProjectPointOnPlane()
42 d = DotProduct( normal, p ) * inv_denom; in ProjectPointOnPlane()
44 n[0] = normal[0] * inv_denom; in ProjectPointOnPlane()
45 n[1] = normal[1] * inv_denom; in ProjectPointOnPlane()
46 n[2] = normal[2] * inv_denom; in ProjectPointOnPlane()
211 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
212 dist2 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
215 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
216 dist2 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
[all …]
Dgl_test.cpp29 vec3_t normal; member
69 vec3_t normal; in Test_Spawn() local
87 d = DotProduct (incoming, plane->normal); in Test_Spawn()
89 VectorMA (p->reflect, d*2, plane->normal, p->reflect); in Test_Spawn()
92 VectorCopy (plane->normal, p->normal); in Test_Spawn()
94 CrossProduct (incoming, p->normal, p->up); in Test_Spawn()
96 CrossProduct (p->up, p->normal, p->right); in Test_Spawn()
Dr_bsp.cpp175 DotProduct(r_entorigin, splitplane->normal); in R_RecursiveClipBPoly()
176 tplane.normal[0] = DotProduct (entity_rotation[0], splitplane->normal); in R_RecursiveClipBPoly()
177 tplane.normal[1] = DotProduct (entity_rotation[1], splitplane->normal); in R_RecursiveClipBPoly()
178 tplane.normal[2] = DotProduct (entity_rotation[2], splitplane->normal); in R_RecursiveClipBPoly()
188 lastdist = DotProduct (plastvert->position, tplane.normal) - in R_RecursiveClipBPoly()
198 dist = DotProduct (pvert->position, tplane.normal) - tplane.dist; in R_RecursiveClipBPoly()
350 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; in R_DrawSolidClippedSubmodelPolygons()
428 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; in R_DrawSubmodelPolygons()
483 d = DotProduct (rejectpt, view_clipplanes[i].normal); in R_RecursiveWorldNode()
493 d = DotProduct (acceptpt, view_clipplanes[i].normal); in R_RecursiveWorldNode()
[all …]
Dr_main.cpp426 screenedge[0].normal[0] = -1.0 / (xOrigin*r_refdef.horizontalFieldOfView); in R_ViewChanged()
427 screenedge[0].normal[1] = 0; in R_ViewChanged()
428 screenedge[0].normal[2] = 1; in R_ViewChanged()
432 screenedge[1].normal[0] = in R_ViewChanged()
434 screenedge[1].normal[1] = 0; in R_ViewChanged()
435 screenedge[1].normal[2] = 1; in R_ViewChanged()
439 screenedge[2].normal[0] = 0; in R_ViewChanged()
440 screenedge[2].normal[1] = -1.0 / (yOrigin*verticalFieldOfView); in R_ViewChanged()
441 screenedge[2].normal[2] = 1; in R_ViewChanged()
445 screenedge[3].normal[0] = 0; in R_ViewChanged()
[all …]
Dr_misc.cpp280 v[0] = screenedge[i].normal[2]; in R_TransformFrustum()
281 v[1] = -screenedge[i].normal[0]; in R_TransformFrustum()
282 v[2] = screenedge[i].normal[1]; in R_TransformFrustum()
288 VectorCopy (v2, view_clipplanes[i].normal); in R_TransformFrustum()
317 void R_TransformPlane (mplane_t *p, float *normal, float *dist) in R_TransformPlane() argument
321 d = DotProduct (r_origin, p->normal); in R_TransformPlane()
324 TransformVector (p->normal, normal); in R_TransformPlane()
343 if (view_clipplanes[i].normal[j] < 0) in R_SetUpFrustumIndexes()
Dgl_rmain.cpp333 float *normal; in GL_DrawAliasFrame() local
449 float *normal; in GL_DrawAliasShadow() local
925 if (out->normal[j] < 0) in SignbitsForPlane()
940 VectorAdd (vpn, vright, frustum[0].normal); in R_SetFrustum()
941 VectorSubtract (vpn, vright, frustum[1].normal); in R_SetFrustum()
943 VectorAdd (vpn, vup, frustum[2].normal); in R_SetFrustum()
944 VectorSubtract (vpn, vup, frustum[3].normal); in R_SetFrustum()
949 RotatePointAroundVector( frustum[0].normal, vup, vpn, -(90-r_refdef.fov_x / 2 ) ); in R_SetFrustum()
951 RotatePointAroundVector( frustum[1].normal, vup, vpn, 90-r_refdef.fov_x / 2 ); in R_SetFrustum()
953 RotatePointAroundVector( frustum[2].normal, vright, vpn, 90-r_refdef.fov_y / 2 ); in R_SetFrustum()
[all …]
Dworld.cpp91 box_planes[i].normal[i>>1] = 1; in SV_InitBoxHull()
508 d = DotProduct (plane->normal, p) - plane->dist; in SV_HullPointContents()
624 t1 = DotProduct (plane->normal, p1) - plane->dist; in SV_RecursiveHullCheck()
625 t2 = DotProduct (plane->normal, p2) - plane->dist; in SV_RecursiveHullCheck()
682 VectorCopy (plane->normal, trace->plane.normal); in SV_RecursiveHullCheck()
687 VectorSubtract (vec3_origin, plane->normal, trace->plane.normal); in SV_RecursiveHullCheck()
786 VectorCopy (trace.plane.normal, temp); in SV_ClipMoveToEntity()
787 trace.plane.normal[0] = DotProduct (temp, forward); in SV_ClipMoveToEntity()
788 trace.plane.normal[1] = -DotProduct (temp, right); in SV_ClipMoveToEntity()
789 trace.plane.normal[2] = DotProduct (temp, up); in SV_ClipMoveToEntity()
/external/quake/quake/src/QW/client/
Dmathlib.c34 void ProjectPointOnPlane( vec3_t dst, const vec3_t p, const vec3_t normal ) in ProjectPointOnPlane() argument
40 inv_denom = 1.0F / DotProduct( normal, normal ); in ProjectPointOnPlane()
42 d = DotProduct( normal, p ) * inv_denom; in ProjectPointOnPlane()
44 n[0] = normal[0] * inv_denom; in ProjectPointOnPlane()
45 n[1] = normal[1] * inv_denom; in ProjectPointOnPlane()
46 n[2] = normal[2] * inv_denom; in ProjectPointOnPlane()
209 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
210 dist2 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
213 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
214 dist2 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
[all …]
Dgl_test.c29 vec3_t normal; member
69 vec3_t normal; in Test_Spawn() local
87 d = DotProduct (incoming, plane->normal); in Test_Spawn()
89 VectorMA (p->reflect, d*2, plane->normal, p->reflect); in Test_Spawn()
92 VectorCopy (plane->normal, p->normal); in Test_Spawn()
94 CrossProduct (incoming, p->normal, p->up); in Test_Spawn()
96 CrossProduct (p->up, p->normal, p->right); in Test_Spawn()
Dr_bsp.c175 DotProduct(r_entorigin, splitplane->normal); in R_RecursiveClipBPoly()
176 tplane.normal[0] = DotProduct (entity_rotation[0], splitplane->normal); in R_RecursiveClipBPoly()
177 tplane.normal[1] = DotProduct (entity_rotation[1], splitplane->normal); in R_RecursiveClipBPoly()
178 tplane.normal[2] = DotProduct (entity_rotation[2], splitplane->normal); in R_RecursiveClipBPoly()
188 lastdist = DotProduct (plastvert->position, tplane.normal) - in R_RecursiveClipBPoly()
198 dist = DotProduct (pvert->position, tplane.normal) - tplane.dist; in R_RecursiveClipBPoly()
350 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; in R_DrawSolidClippedSubmodelPolygons()
428 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; in R_DrawSubmodelPolygons()
483 d = DotProduct (rejectpt, view_clipplanes[i].normal); in R_RecursiveWorldNode()
493 d = DotProduct (acceptpt, view_clipplanes[i].normal); in R_RecursiveWorldNode()
[all …]
Dr_main.c446 screenedge[0].normal[0] = -1.0 / (xOrigin*r_refdef.horizontalFieldOfView); in R_ViewChanged()
447 screenedge[0].normal[1] = 0; in R_ViewChanged()
448 screenedge[0].normal[2] = 1; in R_ViewChanged()
452 screenedge[1].normal[0] = in R_ViewChanged()
454 screenedge[1].normal[1] = 0; in R_ViewChanged()
455 screenedge[1].normal[2] = 1; in R_ViewChanged()
459 screenedge[2].normal[0] = 0; in R_ViewChanged()
460 screenedge[2].normal[1] = -1.0 / (yOrigin*verticalFieldOfView); in R_ViewChanged()
461 screenedge[2].normal[2] = 1; in R_ViewChanged()
465 screenedge[3].normal[0] = 0; in R_ViewChanged()
[all …]
Dpmovetst.c60 box_planes[i].normal[i>>1] = 1; in PM_InitBoxHull()
110 d = DotProduct (plane->normal, p) - plane->dist; in PM_HullPointContents()
149 d = DotProduct (plane->normal, p) - plane->dist; in PM_PointContents()
219 t1 = DotProduct (plane->normal, p1) - plane->dist; in PM_RecursiveHullCheck()
220 t2 = DotProduct (plane->normal, p2) - plane->dist; in PM_RecursiveHullCheck()
277 VectorCopy (plane->normal, trace->plane.normal); in PM_RecursiveHullCheck()
282 VectorSubtract (vec3_origin, plane->normal, trace->plane.normal); in PM_RecursiveHullCheck()
Dr_misc.c356 v[0] = screenedge[i].normal[2]; in R_TransformFrustum()
357 v[1] = -screenedge[i].normal[0]; in R_TransformFrustum()
358 v[2] = screenedge[i].normal[1]; in R_TransformFrustum()
364 VectorCopy (v2, view_clipplanes[i].normal); in R_TransformFrustum()
393 void R_TransformPlane (mplane_t *p, float *normal, float *dist) in R_TransformPlane() argument
397 d = DotProduct (r_origin, p->normal); in R_TransformPlane()
400 TransformVector (p->normal, normal); in R_TransformPlane()
419 if (view_clipplanes[i].normal[j] < 0) in R_SetUpFrustumIndexes()
Dgl_rmain.c827 if (out->normal[j] < 0) in SignbitsForPlane()
842 VectorAdd (vpn, vright, frustum[0].normal); in R_SetFrustum()
843 VectorSubtract (vpn, vright, frustum[1].normal); in R_SetFrustum()
845 VectorAdd (vpn, vup, frustum[2].normal); in R_SetFrustum()
846 VectorSubtract (vpn, vup, frustum[3].normal); in R_SetFrustum()
852 RotatePointAroundVector( frustum[0].normal, vup, vpn, -(90-r_refdef.fov_x / 2 ) ); in R_SetFrustum()
854 RotatePointAroundVector( frustum[1].normal, vup, vpn, 90-r_refdef.fov_x / 2 ); in R_SetFrustum()
856 RotatePointAroundVector( frustum[2].normal, vright, vpn, 90-r_refdef.fov_y / 2 ); in R_SetFrustum()
858 RotatePointAroundVector( frustum[3].normal, vright, vpn, -( 90 - r_refdef.fov_y / 2 ) ); in R_SetFrustum()
864 frustum[i].dist = DotProduct (r_origin, frustum[i].normal); in R_SetFrustum()
[all …]
Dpmove.c72 int PM_ClipVelocity (vec3_t in, vec3_t normal, vec3_t out, float overbounce) in PM_ClipVelocity() argument
79 if (normal[2] > 0) in PM_ClipVelocity()
81 if (!normal[2]) in PM_ClipVelocity()
84 backoff = DotProduct (in, normal) * overbounce; in PM_ClipVelocity()
88 change = normal[i]*backoff; in PM_ClipVelocity()
156 if (trace.plane.normal[2] > 0.7) in PM_FlyMove()
160 if (!trace.plane.normal[2]) in PM_FlyMove()
174 VectorCopy (trace.plane.normal, planes[numplanes]); in PM_FlyMove()
289 if ( trace.plane.normal[2] < 0.7) in PM_GroundMove()
594 if ( tr.plane.normal[2] < 0.7) in PM_CatagorizePosition()
/external/webkit/SunSpider/tests/sunspider-0.9.1/
D3d-raytrace.js128 var normal = cross(edge1, edge2);
129 if (Math.abs(normal[0]) > Math.abs(normal[1]))
130 if (Math.abs(normal[0]) > Math.abs(normal[2]))
135 if (Math.abs(normal[1]) > Math.abs(normal[2]))
146 this.normal = normalise(normal);
147 this.nu = normal[u] / normal[this.axis];
148 this.nv = normal[v] / normal[this.axis];
149 this.nd = dot(normal, p1) / normal[this.axis];
203 var normal = closest.normal;
205 if (dot(dir, normal) > 0)
[all …]
/external/webkit/SunSpider/tests/sunspider-0.9/
D3d-raytrace.js128 var normal = cross(edge1, edge2);
129 if (Math.abs(normal[0]) > Math.abs(normal[1]))
130 if (Math.abs(normal[0]) > Math.abs(normal[2]))
135 if (Math.abs(normal[1]) > Math.abs(normal[2]))
146 this.normal = normalise(normal);
147 this.nu = normal[u] / normal[this.axis];
148 this.nv = normal[v] / normal[this.axis];
149 this.nd = dot(normal, p1) / normal[this.axis];
203 var normal = closest.normal;
205 if (dot(dir, normal) > 0)
[all …]
/external/skia/src/core/
DSkStrokerPriv.cpp23 const SkVector& normal, const SkPoint& stop, in ButtCapper() argument
30 const SkVector& normal, const SkPoint& stop, in RoundCapper() argument
35 SkScalar nx = normal.fX; in RoundCapper()
36 SkScalar ny = normal.fY; in RoundCapper()
49 const SkVector& normal, const SkPoint& stop, in SquareCapper() argument
53 normal.rotateCW(&parallel); in SquareCapper()
57 path->setLastPt(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); in SquareCapper()
58 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()
62 path->lineTo(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); in SquareCapper()
63 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()
DSkStroke.cpp55 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
60 unitNormal->scale(radius, normal); in set_normal_unitnormal()
66 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
71 unitNormal->scale(radius, normal); in set_normal_unitnormal()
111 void preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
113 void postJoinTo(const SkPoint&, const SkVector& normal,
116 void line_to(const SkPoint& currPt, const SkVector& normal);
129 void SkPathStroker::preJoinTo(const SkPoint& currPt, SkVector* normal, in preJoinTo() argument
136 SkAssertResult(set_normal_unitnormal(fPrevPt, currPt, fRadius, normal, in preJoinTo()
140 fFirstNormal = *normal; in preJoinTo()
[all …]
/external/webkit/WebCore/bridge/qt/
Dqt_class.cpp81 QByteArray normal = QMetaObject::normalizedSignature(name.constData()); in fallbackObject() local
85 if (normal.contains('(') && (index = m_metaObject->indexOfMethod(normal)) != -1) { in fallbackObject()
88 …(exec) QtRuntimeMetaMethod(exec, identifier, static_cast<QtInstance*>(inst), index, normal, false); in fallbackObject()
104 if (normal == signature) { in fallbackObject()
105 …(exec) QtRuntimeMetaMethod(exec, identifier, static_cast<QtInstance*>(inst), index, normal, false); in fallbackObject()
/external/webkit/WebCore/css/
DmediaControlsQuickTime.css81 letter-spacing: normal;
82 word-spacing: normal;
83 line-height: normal;
103 letter-spacing: normal;
104 word-spacing: normal;
105 line-height: normal;
171 letter-spacing: normal;
172 word-spacing: normal;
173 line-height: normal;
Dquirks.css35 white-space: normal;
36 line-height: normal;
37 font-weight: normal;
39 font-variant: normal;
40 font-style: normal;
/external/skia/src/effects/
DSkDiscretePathEffect.cpp25 SkVector normal = tangent; in Perterb() local
26 normal.rotateCCW(); in Perterb()
27 normal.setLength(scale); in Perterb()
28 *p += normal; in Perterb()
/external/expat/lib/
Dxmltok.c1248 struct normal_encoding normal; member
1363 e->normal.type[i] = BT_MALFORM; in XmlInitUnknownEncoding()
1372 e->normal.type[i] = (unsigned char)(BT_LEAD2 - (c + 2)); in XmlInitUnknownEncoding()
1381 e->normal.type[i] = latin1_encoding.type[c]; in XmlInitUnknownEncoding()
1387 e->normal.type[i] = BT_NONXML; in XmlInitUnknownEncoding()
1397 e->normal.type[i] = BT_NMSTRT; in XmlInitUnknownEncoding()
1399 e->normal.type[i] = BT_NAME; in XmlInitUnknownEncoding()
1401 e->normal.type[i] = BT_OTHER; in XmlInitUnknownEncoding()
1409 e->normal.isName2 = unknown_isName; in XmlInitUnknownEncoding()
1410 e->normal.isName3 = unknown_isName; in XmlInitUnknownEncoding()
[all …]
/external/libvpx/examples/includes/geshi/docs/api/media/
Dstylesheet.css12 .info-box-title { margin: 1em 0em 0em 0em; font-weight: normal; font-size: 14pt; color: #999999; bo…
29 .index-item-details { font-weight: normal; font-style: italic; font-size: 8pt }
81 .var-description { font-weight: normal; color: #000000; }
92 .src-code { font-family: 'Courier New', Courier, monospace; font-weight: normal; }
93 .src-line { font-family: 'Courier New', Courier, monospace; font-weight: normal; }
132 .author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal }

12345678910>>...16