Searched refs:static_randf_range (Results 1 – 9 of 9) sorted by relevance
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/math/ |
H A D | staticrand.cpp | 89 float static_randf_range(int num, float min, float max) in static_randf_range() function 150 …vm_rot_point_around_line(&t1, in, fl_radians(static_randf_range(num,-max_angle, max_angle)), &vmd_… in static_rand_cone() 153 …vm_rot_point_around_line(&t2, &t1, fl_radians(static_randf_range(num+1,-max_angle, max_angle)), &v… in static_rand_cone() 156 …vm_rot_point_around_line(out, &t2, fl_radians(static_randf_range(num+2,-max_angle, max_angle)), &v… in static_rand_cone() 182 …float z = static_randf_range(num, cosf(fl_radians(max_angle)), cosf(fl_radians(min_angle))); // Ta… in static_rand_cone() 183 float phi = static_randf_range(num+1, 0.0f, PI2); in static_rand_cone()
|
H A D | staticrand.h | 29 extern float static_randf_range(int num, float min, float max);
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/math/ |
H A D | staticrand.cpp | 96 float static_randf_range(int num, float min, float max) in static_randf_range() function 145 …vm_rot_point_around_line(&t1, in, fl_radians(static_randf_range(num,-max_angle, max_angle)), &vmd_… in static_rand_cone() 148 …vm_rot_point_around_line(&t2, &t1, fl_radians(static_randf_range(num+1,-max_angle, max_angle)), &v… in static_rand_cone() 151 …vm_rot_point_around_line(out, &t2, fl_radians(static_randf_range(num+2,-max_angle, max_angle)), &v… in static_rand_cone()
|
H A D | staticrand.h | 26 extern float static_randf_range(int num, float min, float max);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/asteroid/ |
H A D | asteroid.cpp | 375 …speed = asteroid_cap_speed(asteroid_type, asfieldp->speed*static_randf_range(rand_base++, 0.5f + (… in asteroid_create()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/asteroid/ |
H A D | asteroid.cpp | 365 …speed = asteroid_cap_speed(asteroid_type, asfieldp->speed*static_randf_range(rand_base++, 0.5f + (… in asteroid_create()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/weapon/ |
H A D | beam.cpp | 2581 per_burst_rot = static_randf_range(seed, 0.f, PI2); in beam_get_binfo()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ai/ |
H A D | aicode.cpp | 6597 …side_vec.x = static_randf_range((((Missiontime + static_rand(aip->shipnum)) >> 16) / strafeHoldDir… in do_random_sidethrust() 6598 …side_vec.y = static_randf_range((((Missiontime + static_rand(aip->shipnum)) >> 16) / strafeHoldDir… in do_random_sidethrust()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ai/ |
H A D | aicode.cpp | 7088 …side_vec.x = static_randf_range((((Missiontime + static_rand(aip->shipnum)) >> 16) / strafeHoldDir… in do_random_sidethrust() 7089 …side_vec.y = static_randf_range((((Missiontime + static_rand(aip->shipnum)) >> 16) / strafeHoldDir… in do_random_sidethrust()
|