/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/ik/src/ |
H A D | solver_FABRIK.c | 61 *target_position = effector->target_position; in determine_target_data_from_effector() 88 vec3_normalise(target_position->f); in determine_target_data_from_effector() 174 vec3_t target_position = {{0, 0, 0}}; in solve_chain_forwards_with_constraints() local 209 child_node->position = target_position; in solve_chain_forwards_with_constraints() 259 return target_position; in solve_chain_forwards_with_constraints() 268 vec3_t target_position = {{0, 0, 0}}; in solve_chain_forwards() local 301 child_node->position = target_position; in solve_chain_forwards() 310 return target_position; in solve_chain_forwards() 327 base_node->position = target_position; in solve_chain_backwards_with_constraints() 392 child_node->position = target_position; in solve_chain_backwards_with_constraints() [all …]
|
/dports/math/py-gym/gym-0.21.0/gym/envs/robotics/hand/ |
H A D | manipulate_touch_sensors.py | 17 target_position, argument 56 target_position, 144 target_position="random", argument 150 self, target_position, target_rotation, touch_get_obs, reward_type 157 target_position=target_position, 166 target_position="random", argument 172 self, target_position, target_rotation, touch_get_obs, reward_type 179 target_position=target_position, 188 target_position="random", argument 194 self, target_position, target_rotation, touch_get_obs, reward_type [all …]
|
H A D | manipulate.py | 36 target_position, argument 74 self.target_position = target_position 87 assert self.target_position in ["ignore", "fixed", "random"] 111 if self.target_position != "ignore": 204 if self.target_position != "fixed": 230 if self.target_position == "random": 237 elif self.target_position in ["ignore", "fixed"]: 282 if self.target_position == "ignore": 317 target_position=target_position, 332 target_position=target_position, [all …]
|
/dports/graphics/nip2/nip2-8.7.1/src/ |
H A D | pane.c | 200 pane->target_position = 0; in pane_init() 334 int target = pane->target_position; in pane_animate_timeout_cb() 374 int target_position; in pane_animate_closed() local 385 target_position = in pane_animate_closed() 387 target_position, max_position ); in pane_animate_closed() 388 pane->target_position = target_position; in pane_animate_closed() 406 int target_position; in pane_animate_open() local 417 target_position = in pane_animate_open() 425 target_position == min_position ) in pane_animate_open() 431 target_position ); in pane_animate_open() [all …]
|
/dports/devel/godot-tools/godot-demo-projects-8d9d58f112d8/2d/role_playing_game/grid_movement/pawns/ |
H A D | Actor.gd | 16 var target_position = Grid.request_move(self, input_direction) 17 if target_position: 18 move_to(target_position) 35 func move_to(target_position): 38 var move_direction = (position - target_position).normalized() 40 $Pivot/Sprite.position = position - target_position 41 position = target_position
|
H A D | Walker.gd | 19 var target_position = Grid.request_move(self, input_direction) 20 if target_position: 21 move_to(target_position) 38 func move_to(target_position): 41 var move_direction = (position - target_position).normalized() 43 $Pivot/Sprite.position = position - target_position 44 position = target_position
|
/dports/textproc/zorba/zorba-2.7.0/test/rbkt/ExpCompilerResults/IterPlan/zorba/w3c/ |
H A D | nodeexpression47.iter | 33 …d="match_name_test" qname="xs:QName(,,employee)" typename="*" nill allowed="0" target_position="0"> 41 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 81 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 123 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 163 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 205 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 245 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 289 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 329 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> 371 …ind="match_name_test" qname="xs:QName(,,empnum)" typename="*" nill allowed="0" target_position="0"> [all …]
|
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/menu/menu_windows/ |
H A D | menu_skillgraph_window.cpp | 369 Position2D target_position = GetPosition(); in _UpdateSkillGraphView() local 370 target_position.x = target_position.x in _UpdateSkillGraphView() 374 target_position.y = target_position.y in _UpdateSkillGraphView() 389 _view_position = target_position; in _UpdateSkillGraphView() 406 if (_view_position.x < target_position.x) { in _UpdateSkillGraphView() 408 if (_view_position.x > target_position.x) in _UpdateSkillGraphView() 409 _view_position.x = target_position.x; in _UpdateSkillGraphView() 413 if (_view_position.x < target_position.x) in _UpdateSkillGraphView() 414 _view_position.x = target_position.x; in _UpdateSkillGraphView() 417 if (_view_position.y < target_position.y) { in _UpdateSkillGraphView() [all …]
|
/dports/japanese/freepwing/freepwing-1.4.4/src/ |
H A D | Link.pm | 226 my ($reference_type, $source_position, $target_position, 231 $target_position = hex($line_fields[2]); 236 $target_position = hex($line_fields[2]); 246 $target_position = $tag_table->{$line_fields[2]}->[0]; 264 $target_position += $self->{'offset_table'}->{$target_file_name}; 279 ->print(pack('N', $target_position / $block_length + 1))) { 289 ->print(pack('Nn', $target_position / $block_length + 1, 290 $target_position % $block_length))) { 299 my $target_block = bcd($target_position / $block_length + 1); 300 my $target_offset = bcd($target_position % $block_length);
|
H A D | Reference.pm | 141 my ($source_position, $target_position, $target_file_name) 145 $source_position, $target_position, 174 my ($source_position, $target_position, $target_file_name) 178 $source_position, $target_position,
|
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/ai/ |
H A D | ai.cpp | 425 …target_position += sf::vector2FromAngle(sf::vector2ToAngle(target_position - owner->getPosition())… in runOrders() 426 flyTowards(target_position); in runOrders() 434 …target_position += sf::vector2FromAngle(sf::vector2ToAngle(target_position - owner->getPosition())… in runOrders() 435 flyTowards(target_position); in runOrders() 497 flyTowards(target_position); in runOrders() 550 flyTowards(target_position, 0); in runAttack() 619 pathPlanner.plan(owner->getPosition(), target_position); in flyFormation() 652 flyTowards(target_position); in flyFormation() 748 sf::Vector2f target_position = target->getPosition(); in calculateFiringSolution() local 775 sf::Vector2f target_position = target->getPosition(); in calculateFiringSolution() local [all …]
|
H A D | evasionAI.cpp | 42 sf::Vector2f target_position = owner->getOrderTarget()->getPosition(); in runOrders() local 43 sf::Vector2f diff = owner->getPosition() - target_position; in runOrders() 103 sf::Vector2f target_position = owner->getOrderTargetLocation(); in evadeIfNecessary() local 106 target_position = owner->getOrderTarget()->getPosition(); in evadeIfNecessary() 110 if (sf::length(target_position) > 0.0) in evadeIfNecessary() 113 …evasion_vector += sf::normalize(target_position - position) * (owner->hasWarpDrive() || owner->has… in evadeIfNecessary() 114 distance = std::min(distance, sf::length(target_position - position)); in evadeIfNecessary()
|
H A D | missileVolleyAI.cpp | 98 sf::Vector2f target_position; in runAttack() local 101 … target_position = target->getPosition() + sf::vector2FromAngle(target_angle - 120) * 3500.0f; in runAttack() 103 … target_position = target->getPosition() + sf::vector2FromAngle(target_angle + 120) * 3500.0f; in runAttack() 108 owner->target_rotation = sf::vector2ToAngle(target_position - owner->getPosition()); in runAttack() 110 flyTowards(target_position, 0.0f); in runAttack()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/frame/ |
H A D | rotation_viewport_anchor_test.cc | 96 IntPoint target_position( in TEST_F() local 103 ScrollOffset(target_position.X() - in TEST_F() 105 target_position.Y()), in TEST_F() 111 target_position = in TEST_F() 116 target_position.X() - in TEST_F() 118 target_position.Y()); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/frame/ |
H A D | rotation_viewport_anchor_test.cc | 96 IntPoint target_position(5 * WebView().MainFrameWidget()->Size().width, in TEST_F() local 102 ScrollOffset(target_position.X() - in TEST_F() 104 target_position.Y()), in TEST_F() 110 target_position = IntPoint(5 * WebView().MainFrameWidget()->Size().width, in TEST_F() 114 target_position.X() - WebView().MainFrameWidget()->Size().width / 2 + 25, in TEST_F() 115 target_position.Y()); in TEST_F()
|
/dports/www/qutebrowser/qutebrowser-2.4.0/qutebrowser/components/ |
H A D | readlinecommands.py | 101 target_position = cursor_position 104 while is_boundary and target_position > 0: 105 is_boundary = text[target_position - 1] in delim 106 target_position -= 1 109 while not is_boundary and target_position > 0: 110 is_boundary = text[target_position - 1] in delim 111 target_position -= 1 113 moveby = cursor_position - target_position - 1
|
/dports/emulators/mednafen/mednafen/src/compress/ |
H A D | ZLInflateFilter.cpp | 67 target_position = 0; in ZLInflateFilter() 184 if(target_position < position) in read() 200 while(position < target_position) in read() 204 uint64 toread = std::min<uint64>(target_position - position, sizeof(dummy)); in read() 207 …tion %llu in deflate-compressed stream."), vfcontext.c_str(), (unsigned long long)target_position); in read() 213 target_position = position; in read() 238 new_position = target_position + offset; in seek() 249 target_position = new_position; in seek() 254 return target_position; in tell()
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/HW/WiimoteEmu/ |
H A D | Dynamics.cpp | 90 auto target_position = shake_group->GetState() * float(shake_group->GetIntensity() / 2); in EmulateShake() local 91 for (std::size_t i = 0; i != target_position.data.size(); ++i) in EmulateShake() 93 if (state->velocity.data[i] * std::copysign(1.f, target_position.data[i]) < 0 || in EmulateShake() 94 state->position.data[i] / target_position.data[i] > 0.5) in EmulateShake() 96 target_position.data[i] *= -1; in EmulateShake() 104 for (std::size_t i = 0; i != target_position.data.size(); ++i) in EmulateShake() 107 std::max(std::abs(target_position.data[i]), std::abs(state->position.data[i])); in EmulateShake() 112 ApproachPositionWithJerk(state, target_position, jerk, time_elapsed); in EmulateShake() 140 const auto xz_target_dist = Common::Vec2{target_position.x, target_position.z}.Length(); in EmulateSwing() 141 const auto y_target_dist = std::abs(target_position.y); in EmulateSwing() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/gym/pybullet_envs/minitaur/robots/ |
H A D | object_controller.py | 409 target_position = observations[self._target_key] 412 delta_vector = (target_position - self_position) * (1, 1, 0) 531 def _get_wait_position(self, self_position, target_position): argument 564 def _get_orientation(self, source_position, target_position): argument 574 if np.allclose(source_position, target_position): 577 delta_vector = (target_position - source_position) * (1, 1, 0) 587 target_position, argument 621 def _get_target_distance_to_center(self, target_position): argument 655 target_position = observations[self._target_key] 670 target_position) [all …]
|
/dports/editors/hexer/hexer-1.0.3/ |
H A D | buffer.c | 344 unsigned long t_offset = target_position % target_buffer->blocksize; in b_copy() 350 (target_position > source_position)) { in b_copy() 352 r = b_copy_forward(target_buffer, target_position, in b_copy() 367 target_position + r, source_position + r, count - r); in b_copy() 383 unsigned long t_offset = target_position % bs; /* target offset. */ in b_copy_forward() 385 unsigned long tr_offset = (target_position + count - 1) % bs + 1; in b_copy_forward() 391 assert(target_position > source_position); in b_copy_forward() 393 if (target_position > buffer->size) return -1; in b_copy_forward() 394 if (count + target_position > buffer->size) in b_copy_forward() 395 count = buffer->size - target_position; in b_copy_forward() [all …]
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/hero/ |
H A D | BackToSolidGroundState.cpp | 49 target_position(), in BackToSolidGroundState() 56 this->target_position = hero.get_target_solid_ground_callback(); in BackToSolidGroundState() 60 this->target_position = hero.make_solid_ground_callback( in BackToSolidGroundState() 82 Debug::check_assertion(!target_position.is_empty(), "Missing solid ground callback"); in start() 83 target_position.push(l); in start()
|
/dports/editors/xed/xed-3.2.0/xed/ |
H A D | xed-paned.c | 143 gint target_position) in calculate_target_postion() argument 147 if (target_position < 0) in calculate_target_postion() 153 paned->priv->target_pos = target_position; in calculate_target_postion() 196 gint target_position) in setup_animation() argument 213 calculate_target_postion (paned, target_position); in setup_animation() 250 gint target_position) in xed_paned_open() argument 257 setup_animation (paned, target_position); in xed_paned_open()
|
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/spaceObjects/spaceshipParts/ |
H A D | weaponTube.cpp | 314 sf::Vector2f target_position = target->getPosition(); in calculateFiringSolution() local 317 float missile_angle = sf::vector2ToAngle(target_position - parent->getPosition()); in calculateFiringSolution() 334 float time_missile = sf::length(turn_exit - target_position) / data.speed; in calculateFiringSolution() 336 if ((interception - target_position) < target->getRadius() / 2) in calculateFiringSolution() 338 missile_angle = sf::vector2ToAngle(target_position - turn_exit); in calculateFiringSolution() 344 …sf::Vector2f intersection = sf::lineLineIntersection(target_position, target_position + target_vel… in calculateFiringSolution() 347 … float time_target = sf::length((target_position - intersection)) / target_velocity_length; in calculateFiringSolution() 357 … sf::Vector2f new_target_position = target_position + target_velocity * guessed_impact_time; in calculateFiringSolution()
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tlx/algorithm/ |
H A D | parallel_multiway_merge.hpp | 138 DiffType target_position = 0, local_size = 0; in parallel_multiway_merge_base() local 142 target_position += chunks[iam][s].first - seqs_ne[s].first; in parallel_multiway_merge_base() 148 target + target_position, in parallel_multiway_merge_base() 149 std::min(local_size, static_cast<DiffType>(size) - target_position), in parallel_multiway_merge_base() 158 DiffType target_position = 0, local_size = 0; in parallel_multiway_merge_base() local 162 target_position += chunks[iam][s].first - seqs_ne[s].first; in parallel_multiway_merge_base() 168 target + target_position, in parallel_multiway_merge_base() 169 std::min(local_size, static_cast<DiffType>(size) - target_position), in parallel_multiway_merge_base()
|
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tlx/algorithm/ |
H A D | parallel_multiway_merge.hpp | 138 DiffType target_position = 0, local_size = 0; in parallel_multiway_merge_base() local 142 target_position += chunks[iam][s].first - seqs_ne[s].first; in parallel_multiway_merge_base() 148 target + target_position, in parallel_multiway_merge_base() 149 std::min(local_size, static_cast<DiffType>(size) - target_position), in parallel_multiway_merge_base() 158 DiffType target_position = 0, local_size = 0; in parallel_multiway_merge_base() local 162 target_position += chunks[iam][s].first - seqs_ne[s].first; in parallel_multiway_merge_base() 168 target + target_position, in parallel_multiway_merge_base() 169 std::min(local_size, static_cast<DiffType>(size) - target_position), in parallel_multiway_merge_base()
|