/external/quake/quake/src/WinQuake/ |
gl_rlight.cpp | 80 float rad;
local 82 rad = light->radius * 0.35;
85 if (Length (v) < rad)
105 *pPos++ = light->origin[i] - vpn[i]*rad;
114 *pPos++ = light->origin[j] + vright[j]*cos(a)*rad
115 + vup[j]*sin(a)*rad;
127 v[i] = light->origin[i] - vpn[i]*rad;
134 v[j] = light->origin[j] + vright[j]*cos(a)*rad
135 + vup[j]*sin(a)*rad;
|
r_surf.cpp | 66 float dist, rad, minlight;
local 83 rad = cl_dlights[lnum].radius;
86 rad -= fabs(dist);
88 if (rad < minlight)
90 minlight = rad - minlight;
122 temp = (rad - dist)*256;
135 blocklights[t*smax + s] += (rad - dist)*256;
|
gl_rsurf.cpp | 72 float dist, rad, minlight; local 88 rad = cl_dlights[lnum].radius; 91 rad -= fabs(dist); 93 if (rad < minlight) 95 minlight = rad - minlight; 124 blocklights[t*smax + s] += (int)((rad - dist)*256); [all...] |
pr_cmds.cpp | 883 float rad; local 891 rad = G_FLOAT(OFS_PARM1); 902 if (Length(eorg) > rad) [all...] |
/external/quake/quake/src/QW/client/ |
gl_rlight.c | 99 float rad; local 104 rad = light->radius * 0.35; 107 if (Length (v) < rad) 122 v[i] = light->origin[i] - vpn[i]*rad; 130 + vup[j]*(*bub_sin)) * rad;
|
r_surf.c | 66 float dist, rad, minlight; local 83 rad = cl_dlights[lnum].radius; 86 rad -= fabs(dist); 88 if (rad < minlight) 90 minlight = rad - minlight; 119 blocklights[t*smax + s] += (rad - dist)*256;
|
gl_rsurf.c | 72 float dist, rad, minlight; local 88 rad = cl_dlights[lnum].radius; 91 rad -= fabs(dist); 93 if (rad < minlight) 95 minlight = rad - minlight; 124 blocklights[t*smax + s] += (rad - dist)*256; [all...] |
/external/skia/src/core/ |
SkMath.cpp | 434 double rad = i * 3.141592653589793 / (2*kTableSize); local 435 double val = sin(rad);
|
SkDraw.cpp | 2308 int rad = -1; local [all...] |
/external/skia/src/gl/ |
SkGLDevice.cpp | 293 const SkScalar rad = SkScalarHalf(width); local 295 verts[0].setScalars(rect.fLeft + rad, rect.fTop + rad); 296 verts[1].setScalars(rect.fLeft - rad, rect.fTop - rad); 297 verts[2].setScalars(rect.fRight - rad, rect.fTop + rad); 298 verts[3].setScalars(rect.fRight + rad, rect.fTop - rad); 299 verts[4].setScalars(rect.fRight - rad, rect.fBottom - rad) [all...] |
/external/tcpdump/ |
print-radius.c | 896 register const struct radius_hdr *rad; local 900 rad = (struct radius_hdr *)dat; 901 len = EXTRACT_16BITS(&rad->len); 914 tok2str(radius_command_values,"Unknown Command",rad->code), 915 rad->code, 916 rad->id, 923 tok2str(radius_command_values,"Unknown Command",rad->code), 924 rad->code, 925 rad->id); 928 printf("%02x", rad->auth[auth_idx] ) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix.java | 246 double rad = Math.toRadians(degrees); local 247 float cos = (float)Math.cos(rad); 248 float sin = (float)Math.sin(rad); 259 double rad = Math.toRadians(degrees); local 260 float cos = (float)Math.cos(rad); 261 float sin = (float)Math.sin(rad); 540 double rad = Math.toRadians(degrees); local 541 float cos = (float)Math.cos(rad); 542 float sin = (float)Math.sin(rad); 556 double rad = Math.toRadians(degrees) local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrackTest.java | 2546 final double rad = 2 * Math.PI * frequency \/ sampleRate; local 2557 final double rad = 2 * Math.PI * frequency \/ sampleRate; local [all...] |
/system/core/libpixelflinger/ |
trap.cpp | 136 void pointx_validate(void *con, const GGLcoord* v, GGLcoord rad) 149 c->procs.pointx(con, v, rad); 152 void pointx(void *con, const GGLcoord* v, GGLcoord rad) 155 GGLcoord halfSize = TRI_ROUND(rad) >> 1; 207 GGLcoord rad = ((size + 1)>>1); local 208 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; 209 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS; 210 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; 211 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; 236 GGLcoord rr = rad*rad 272 GGLcoord rad = ((size + 1)>>1); local [all...] |
/external/quake/quake/src/QW/server/ |
pr_cmds.c | 766 float rad; local 774 rad = G_FLOAT(OFS_PARM1); 785 if (Length(eorg) > rad) 1647 PF_findradius, // entity(vector org, float rad) findradius = #22;
|
/prebuilt/common/osgi/ |
osgi.jar | |