/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/model/ |
H A D | modelinterp.cpp | 1445 tmp.xyz.x += (frand() - 0.5f) * d * scaler; in interp_render_arc_segment() 1446 tmp.xyz.y += (frand() - 0.5f) * d * scaler; in interp_render_arc_segment() 1447 tmp.xyz.z += (frand() - 0.5f) * d * scaler; in interp_render_arc_segment()
|
/dports/math/miracl/miracl-5.6/ |
H A D | miracl.h | 1309 extern void frand(_MIPT_ flash);
|
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/StkUGens/ |
H A D | StkAll.cpp | 1535 y = (frand(s1,s2,s3)*2-1) * randamp * pressure; in Sflute_next()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | vf_xfade.c | 1019 static float frand(int x, int y) in frand() function 1037 const float smooth = frand(x, y) * 2.f + progress * 2.f - 1.5f; \
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | vf_xfade.c | 1019 static float frand(int x, int y) in frand() function 1037 const float smooth = frand(x, y) * 2.f + progress * 2.f - 1.5f; \
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | vf_xfade.c | 1015 static float frand(int x, int y) in frand() function 1033 const float smooth = frand(x, y) * 2.f + progress * 2.f - 1.5f; \
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/ |
H A D | ship.cpp | 6292 mst.length.xyz.z *= (1.0f + frand()/5.0f - 0.1f); in ship_render() 6293 mst.length.xyz.y *= (1.0f + frand()/5.0f - 0.1f); in ship_render() 6294 mst.length.xyz.x *= (1.0f + frand()/5.0f - 0.1f); in ship_render() 7493 float scale = -vm_vec_dotprod(&objp->orient.vec.fvec, &rand_vec) * (0.9f + 0.2f * frand()); in ship_dying_frame() 7496 scale = objp->radius * frand() * 0.717f; in ship_dying_frame() 9858 if ( (frand()-0.2f) > weapons_subsys_str ) in ship_weapon_maybe_fail() 14893 if ( (int)(frand()*100) > Builtin_messages[MESSAGE_PRAISE_SELF].occurrence_chance ) { in ship_maybe_praise_self() 15115 if ( (int)(frand()*100) > Builtin_messages[MESSAGE_WINGMAN_SCREAM].occurrence_chance ) { in ship_maybe_scream() 17280 constant_val = frand(); in GetDamage()
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/man/man3/ |
H A D | INDEX | 1027 frand rand.3
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/menuui/ |
H A D | mainhallmenu.cpp | 1250 … Main_hall->misc_anim_delay.at(regen_idx).at(0) = timestamp(min + (int) (frand() * (max - min))); in main_hall_render_misc_anims()
|
/dports/math/ngraph/Ngraph-6.3.54-src/src/ |
H A D | mathcode.c | 855 numbuf[*numpo]=frand(numbuf[*numpo]); in mathexpand()
|
/dports/games/alienarena/alienarena-7.66/source/ref_gl/ |
H A D | r_particle.c | 858 VectorMA(origin, -32*frand(), tangent, origin); in Mod_AddVegetationSurface()
|
/dports/games/alienarena-data/alienarena-7.66/source/ref_gl/ |
H A D | r_particle.c | 858 VectorMA(origin, -32*frand(), tangent, origin); in Mod_AddVegetationSurface()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/glx/ |
H A D | boxed.c | 67 #define rnd() (frand(1.0))
|
H A D | polytopes.c | 3054 pp->speed_scale = 0.9 + frand(0.3); in init_polytopes()
|
/dports/biology/paml/paml4.9j/src/ |
H A D | tools.c | 1356 FILE *frand = fopen("/dev/urandom", "r"); in SetSeed() local 1357 if (frand) { in SetSeed() 1358 if (fread(&seed, sizeof(int), 1, frand) != 1) in SetSeed() 1360 fclose(frand); in SetSeed()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/mission/ |
H A D | missionparse.cpp | 3926 …time_to_arrive = wingp->wave_delay_min + (int)(frand() * (wingp->wave_delay_max - wingp->wave_dela… in parse_wing_create_ships() 6767 use_terran_cmd = ((frand() - 0.75) > 0.0f)?1:0; in mission_eval_arrivals() 7449 rand_val = frand(); in get_warp_in_pos()
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/plugins/ |
H A D | BinaryOpUGens.cpp | 1150 : xb > xa ? xa + rgen.frand() * (xb - xa) : (xb + rgen.frand() * (xa - xb)); in rrand_d() 1428 ZOUT0(0) = xb > xa ? xa + rgen.frand() * (xb - xa) : (xb + rgen.frand() * (xa - xb)); in rrand_1()
|
H A D | OscUGens.cpp | 559 float max = maxSum * rgen.frand(); in TWindex_next_k() 598 float max = maxSum * rgen.frand(); in TWindex_next_ak()
|
H A D | DelayUGens.cpp | 4660 startpos += (timedisp * frand(s1, s2, s3)); in PitchShift_next() 4809 startpos += (timedisp * frand(s1, s2, s3)); in PitchShift_next_z() 5167 timedisp = frand(s1, s2, s3) * timedisp * SAMPLERATE; in GrainTap_next()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ship/ |
H A D | ship.cpp | 8418 float scale = -vm_vec_dot(&objp->orient.vec.fvec, &rand_vec) * (0.9f + 0.2f * frand()); in ship_dying_frame() 8421 scale = objp->radius * frand() * 0.717f; in ship_dying_frame() 11080 if ( (frand()-0.2f) > weapons_subsys_str ) in ship_weapon_maybe_fail() 16192 if ( (int)(frand()*100) > Builtin_messages[MESSAGE_PRAISE_SELF].occurrence_chance ) { in ship_maybe_praise_self() 16416 if ( (int)(frand()*100) > Builtin_messages[MESSAGE_WINGMAN_SCREAM].occurrence_chance ) { in ship_maybe_scream() 18665 constant_val = frand(); in GetDamage() 19360 mst->length.xyz.z *= (1.0f + frand()/5.0f - 0.1f); in ship_set_thruster_info() 19361 mst->length.xyz.y *= (1.0f + frand()/5.0f - 0.1f); in ship_set_thruster_info() 19362 mst->length.xyz.x *= (1.0f + frand()/5.0f - 0.1f); in ship_set_thruster_info()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/mission/ |
H A D | missionparse.cpp | 4086 …time_to_arrive = wingp->wave_delay_min + (int)(frand() * (wingp->wave_delay_max - wingp->wave_dela… in parse_wing_create_ships() 7155 use_terran_cmd = ((frand() - 0.75) > 0.0f)?1:0; in mission_eval_arrivals() 7829 rand_val = frand(); in get_warp_in_pos()
|
/dports/games/egoboo/egoboo-2.8.1/src/game/ |
H A D | game.c | 2856 float frand = rand() / ( float )RAND_MAX; in activate_spawn_file_spawn() local 2858 if ( frand > 0.5f ) in activate_spawn_file_spawn()
|
/dports/math/gh-bc/bc-5.2.1/ |
H A D | NEWS.md | 660 * `frand(p)`: Generates a number between `[0,1)` to `p` decimal places. 661 * `ifrand(i, p)`: Generates an integer with bound `i` and adds it to `frand(p)`.
|
/dports/games/ufoai/ufoai-2.5-source/src/client/cgame/campaign/ |
H A D | cp_base.cpp | 1153 const int j = round((frand() * (MAX_BLOCKEDFIELDS - MIN_BLOCKEDFIELDS)) + MIN_BLOCKEDFIELDS); in B_BuildFromTemplate()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | bsod.c | 1922 sprintf(buf, "Send $%.2f of %s to this address:\n", 101+frand(888), currency); in windows_ransomware() 3012 pct += frand(0.3); in macx_install()
|