Searched refs:goal_dist (Results 1 – 9 of 9) sorted by relevance
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | shrinkwrap.c | 1272 float goal_dist, in shrinkwrap_snap_with_side() argument 1283 if (forcesnap || goal_dist > 0) { in shrinkwrap_snap_with_side() 1284 madd_v3_v3v3fl(r_point_co, hit_co, hit_no, goal_dist * forcesign); in shrinkwrap_snap_with_side() 1299 if (forcesnap || dsign * dist * forcesign < goal_dist) { in shrinkwrap_snap_with_side() 1303 float dist_epsilon = (fabsf(goal_dist) + len_manhattan_v3(hit_co)) * 1e-4f; in shrinkwrap_snap_with_side() 1313 madd_v3_v3v3fl(r_point_co, hit_co, delta, goal_dist * forcesign); in shrinkwrap_snap_with_side() 1334 float goal_dist, in BKE_shrinkwrap_snap_point_to_surface() argument 1343 if (goal_dist != 0) { in BKE_shrinkwrap_snap_point_to_surface() 1360 if (goal_dist != 0) { in BKE_shrinkwrap_snap_point_to_surface() 1370 if (goal_dist != 0) { in BKE_shrinkwrap_snap_point_to_surface() [all …]
|
/dports/misc/orange3/orange3-3.29.1/Orange/tests/ |
H A D | test_distribution.py | 422 def assert_dist_and_unknowns(computed, goal_dist): argument 424 goal_dist = np.array(goal_dist) 425 sum_dist = np.sum(goal_dist[1, :] if goal_dist.ndim == 2 else goal_dist) 428 assert_dist_almost_equal(computed, goal_dist)
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/ |
H A D | BKE_shrinkwrap.h | 167 float goal_dist,
|
/dports/games/gnugo/gnugo-3.8/engine/ |
H A D | surround.c | 34 static int goal_dist(int pos, signed char goal[BOARDMAX]); 157 sd[dpos] = goal_dist(dpos, mf); in compute_surroundings() 523 goal_dist(int pos, signed char goal[BOARDMAX]) in goal_dist() function
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/ |
H A D | actions.cc | 499 dest_obj(weak_from_obj(d)), goal_dist(gdist), in Approach_actor_action() 547 if (goal_dist >= 0 && actor->distance(dest_ptr.get()) <= goal_dist) in handle_event()
|
H A D | actions.h | 152 int goal_dist; // Stop if within this distance. variable
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ai/ |
H A D | aibig.cpp | 483 int goal_dist = fl2i(path_point_radius); in ai_big_maybe_follow_subsys_path() local 485 if (goal_dist >= Minimum_subsystem_path_pt_dist) { in ai_big_maybe_follow_subsys_path() 486 aip->path_goal_dist = goal_dist; in ai_big_maybe_follow_subsys_path()
|
H A D | aicode.cpp | 9804 float dist, goal_dist; in dock_orient_and_approach() local 9807 goal_dist = docker_objp->radius + dockee_objp->radius + 25.0f; in dock_orient_and_approach() 9810 vm_vec_scale_add(&goal_point, &dockee_objp->pos, &away_vec, goal_dist); in dock_orient_and_approach() 9822 if (dist > goal_dist/2) in dock_orient_and_approach() 9823 accel *= 1.2f - 0.5f*goal_dist/dist; in dock_orient_and_approach()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ai/ |
H A D | aicode.cpp | 9274 float dist, goal_dist; in dock_orient_and_approach() local 9277 goal_dist = docker_objp->radius + dockee_objp->radius + 25.0f; in dock_orient_and_approach() 9280 vm_vec_scale_add(&goal_point, &dockee_objp->pos, &away_vec, goal_dist); in dock_orient_and_approach() 9293 if (dist > goal_dist/2) in dock_orient_and_approach() 9294 accel *= 1.2f - 0.5f*goal_dist/dist; in dock_orient_and_approach()
|