/dports/games/luola/luola-1.3.2/src/ |
H A D | bullet.c | 243 p->physics.x = ship->physics.x; in sticky_hitship() 244 p->physics.y = ship->physics.y; in sticky_hitship() 323 a = atan2 ( p->src->physics.y - p->physics.y, in boomerang_move() 324 p->src->physics.x - p->physics.x); in boomerang_move() 367 f.x = ship->physics.x - p->physics.x; in magmine_move() 368 f.y = ship->physics.y - p->physics.y; in magmine_move() 488 p->physics.y-mine->physics.y) < 14 * mine->physics.radius) in mine_divide() 901 p->physics.radius, p->physics.mass); in make_rocket() 997 p->physics.thrust = get_constant_vel(p->physics.vel,p->physics.radius, in make_mwave() 1017 p->physics.thrust = get_constant_vel(p->physics.vel,p->physics.radius, in make_emwave() [all …]
|
H A D | weapon.c | 129 add_projectile(make_megabomb(ship->physics.x,ship->physics.y+11, in drop_megabomb() 135 add_projectile(make_ember(ship->physics.x,ship->physics.y+11, in drop_ember() 180 struct Projectile *p=make_magmine(ship->physics.x, ship->physics.y, in drop_magmine() 190 struct Projectile *p=make_mine(ship->physics.x, ship->physics.y, in drop_mine() 199 struct Projectile *p=make_divmine(ship->physics.x, ship->physics.y, in drop_divmine() 212 ship->shieldup = new_ga_link(&ship->physics.x,&ship->physics.y, in toggle_shield() 239 drop_jumppoint(ship->physics.x, ship->physics.y, find_player(ship)); in drop_warp() 302 target = find_nearest_ship(ship->physics.x,ship->physics.y, ship, &d); in zapper() 366 add_projectile(make_plastique(ship->physics.x,ship->physics.y, in fire_plastique() 376 p = make_landmine(ship->physics.x,ship->physics.y, in drop_landmine() [all …]
|
H A D | walker.c | 32 walker->physics.radius = 4.1; in init_walker() 33 walker->physics.mass = 5.0; in init_walker() 34 walker->physics.sharpness = BOUNCY; in init_walker() 35 walker->physics.semisolid = 1; in init_walker() 49 if(walker->physics.hitground || walker->physics.underwater) in walker_jump() 55 if(walker->physics.underwater) in walker_dive() 94 foothold = find_foothold(walker->physics.x,walker->physics.y,walker->slope); in animate_walker() 96 if(is_breathable(walker->physics.x,walker->physics.y)==0) in animate_walker() 118 if(walker->physics.underwater) { in animate_walker() 121 walker->physics.vel.y -= 0.2; in animate_walker() [all …]
|
H A D | flyer.c | 31 init_physobj(&flyer->physics,0,0,makeVector(0,0)); in init_flyer() 32 flyer->physics.sharpness = BOUNCY; in init_flyer() 34 flyer->physics.radius = 4; in init_flyer() 36 flyer->physics.mass = 3.5; in init_flyer() 38 flyer->physics.mass = 7.5; in init_flyer() 53 animate_object(&flyer->physics,lists,objs); in animate_flyer() 56 v = makeVector(flyer->targx - flyer->physics.x, flyer->targy - flyer->physics.y); in animate_flyer() 60 if(flyer->physics.vel.x>v.x) in animate_flyer() 63 if(flyer->physics.vel.x<v.x) in animate_flyer() 67 if(flyer->physics.vel.y>v.y) in animate_flyer() [all …]
|
H A D | ship.c | 360 spawn_clusters (ship->physics.x, ship->physics.y,5.6, 32, make_bullet); in finalize_ship() 399 targ = find_nearest_ship (ship->physics.x, ship->physics.y, ship, &d); in remote_control() 452 ship->physics.thrust = get_constant_vel(ship->physics.vel, in set_ship_thrust() 453 ship->physics.radius,ship->physics.mass); in set_ship_thrust() 474 part = make_particle (ship->physics.x, ship->physics.y, 15); in ship_exhaust() 583 if(ship->physics.thrust.x!=0 || ship->physics.thrust.y!=0) { in animate_ships() 607 start_burning (ship->physics.x, ship->physics.y); in animate_ships() 846 ship->physics.vel.y = ship->physics.vel.y - GRAVITY + in ship_specials() 904 if(Round(ship->physics.x) == x && Round(ship->physics.y) == y) { in bump_ship() 1040 d = hypot (ship->physics.x - myX, ship->physics.y - myY); in find_nearest_ship() [all …]
|
H A D | critter.c | 157 add_splash(critter->physics.x, critter->physics.y,5.0,16, in splatter() 163 add_splash(critter->physics.x, critter->physics.y,5.0,8, in shatter() 165 add_splash(critter->physics.x, critter->physics.y,5.0,8, in shatter() 222 add_splash(critter->physics.x, critter->physics.y,5.0, 16, in bird_die() 224 add_splash(critter->physics.x, critter->physics.y,3.0, 24, in bird_die() 243 fabs(c->physics.x-critter->physics.x)<250 && in gc_die() 244 fabs(c->physics.y-critter->physics.y)<250) in gc_die() 246 if(c->physics.x<critter->physics.x) in gc_die() 299 double d=hypot(e->physics.x-x,e->physics.y-y); in find_enemy_critter() 363 if(find_target(soldier->physics.x, soldier->physics.y, in soldier_animate() [all …]
|
H A D | pilot.c | 103 pilot->walker.physics.radius = PILOT_PAR_RADIUS; in deploy_parachute() 122 players[plr].pilot.walker.physics.x = players[plr].ship->physics.x; in eject_pilot() 123 players[plr].pilot.walker.physics.y = players[plr].ship->physics.y; in eject_pilot() 160 add_splash(pilot->walker.physics.x, pilot->walker.physics.y,5.0, 16, in kill_pilot() 161 pilot->walker.physics.vel,make_blood); in kill_pilot() 209 … int nearest = find_nearest_enemy(pilot->walker.physics.x,pilot->walker.physics.y, p, &dist); in animate_pilots() 211 … pilot->attack_vector.x = (players[nearest].ship->physics.x - pilot->walker.physics.x)/dist; in animate_pilots() 212 … pilot->attack_vector.y = (players[nearest].ship->physics.y - pilot->walker.physics.y)/dist; in animate_pilots() 235 if((pilot->walker.physics.hitground||pilot->walker.physics.underwater) in animate_pilots() 322 pilot->walker.physics.x + xoff, in pilot_shoot() [all …]
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/physics/ |
H A D | physics_bullet.cpp | 464 if(physics) in Physics_DeletePhysicsData() 661 return physics && physics->bt_body; in Physics_IsBodyesInited() 667 return physics && physics->ghost_objects; in Physics_IsGhostsInited() 672 return (physics) ? (physics->objects_count) : (0); in Physics_GetBodiesCount() 695 if(physics->ghost_objects && physics->ghost_objects[index]) in Physics_GetGhostWorldTransform() 710 if(physics->ghost_objects && physics->ghost_objects[index]) in Physics_SetGhostWorldTransform() 1225 physics->bt_body[0]->setUserPointer(physics->cont); in Physics_GenRigidBody() 1246 physics->bt_body[0]->setUserPointer(physics->cont); in Physics_GenRigidBody() 1460 if(physics->ghost_objects && (index < physics->objects_count) && physics->ghost_objects[index]) in Physics_SetGhostCollisionShape() 1652 if(physics->ghost_objects && physics->ghost_objects[i] && in Physics_EnableCollision() [all …]
|
H A D | physics.h | 63 void Physics_DeletePhysicsData(struct physics_data_s *physics); 73 int Physics_IsBodyesInited(struct physics_data_s *physics); 74 int Physics_IsGhostsInited(struct physics_data_s *physics); 75 int Physics_GetBodiesCount(struct physics_data_s *physics); 84 void Physics_GenRigidBody(struct physics_data_s *physics, struct ss_bone_frame_s *bf); 94 void Physics_EnableCollision(struct physics_data_s *physics); 95 void Physics_DisableCollision(struct physics_data_s *physics); 98 void Physics_SetCollisionScale(struct physics_data_s *physics, float scaling[3]); 99 void Physics_SetBodyMass(struct physics_data_s *physics, float mass, uint16_t index); 114 bool Ragdoll_Delete(struct physics_data_s *physics); [all …]
|
/dports/games/palomino/palomino/src/lua_bind/ |
H A D | bind_aircraft_physics.cc | 22 using namespace physics; 47 CHECK_TYPESIG(physics,TYPESIG_AIRCRAFT_PHYSICS); in AircraftPhysics_ComputeAngleOfAttack() 64 CHECK_TYPESIG(physics,TYPESIG_AIRCRAFT_PHYSICS); in AircraftPhysics_ComputeDragForce() 65 PUSH_VECTOR3( L, physics->ComputeDragForce() ); in AircraftPhysics_ComputeDragForce() 81 CHECK_TYPESIG(physics,TYPESIG_AIRCRAFT_PHYSICS); in AircraftPhysics_ComputeLiftForce() 82 PUSH_VECTOR3( L, physics->ComputeLiftForce() ); in AircraftPhysics_ComputeLiftForce() 98 CHECK_TYPESIG(physics,TYPESIG_AIRCRAFT_PHYSICS); in AircraftPhysics_ComputeSpeed() 115 CHECK_TYPESIG(physics,TYPESIG_AIRCRAFT_PHYSICS); in AircraftPhysics_ComputeThrustForce() 151 physics->Enable( enable ); in AircraftPhysics_Enable() 167 lua_pushboolean( L, physics->IfStall() ); in AircraftPhysics_IfStall() [all …]
|
/dports/devel/love07/love-HEAD/src/ |
H A D | Makefile.am | 45 ./modules/physics/box2d/wrap_World.h \ 75 ./modules/physics/box2d/World.h \ 76 ./modules/physics/box2d/World.cpp \ 138 ./modules/physics/box2d/Shape.h \ 152 ./modules/physics/box2d/Joint.h \ 163 ./modules/physics/box2d/Body.h \ 164 ./modules/physics/box2d/Body.cpp \ 165 ./modules/physics/Shape.h \ 166 ./modules/physics/Shape.cpp \ 167 ./modules/physics/Joint.h \ [all …]
|
H A D | Makefile.in | 466 ./modules/physics/box2d/World.h \ 529 ./modules/physics/box2d/Shape.h \ 543 ./modules/physics/box2d/Joint.h \ 554 ./modules/physics/box2d/Body.h \ 556 ./modules/physics/Shape.h \ 557 ./modules/physics/Shape.cpp \ 558 ./modules/physics/Joint.h \ 559 ./modules/physics/Joint.cpp \ 1125 @$(MKDIR_P) ./modules/physics 1130 ./modules/physics/Shape.$(OBJEXT): modules/physics/$(am__dirstamp) \ [all …]
|
/dports/misc/sdformat/osrf-sdformat-f555f9a69f8f/src/ |
H A D | Physics_TEST.cc | 24 sdf::Physics physics; in TEST() local 25 EXPECT_EQ(nullptr, physics.Element()); in TEST() 26 EXPECT_TRUE(physics.Name().empty()); in TEST() 28 physics.SetName("test_physics"); in TEST() 31 EXPECT_FALSE(physics.IsDefault()); in TEST() 32 physics.SetDefault(true); in TEST() 33 EXPECT_TRUE(physics.IsDefault()); in TEST() 35 EXPECT_EQ("ode", physics.EngineType()); in TEST() 36 physics.SetEngineType("bullet"); in TEST() 40 physics.SetMaxStepSize(1.234); in TEST() [all …]
|
/dports/graphics/R-cran-visNetwork/visNetwork/R/ |
H A D | visPhysics.R | 121 physics <- list() list 123 physics$solver <- solver 124 physics$maxVelocity <- maxVelocity 125 physics$minVelocity <- minVelocity 126 physics$timestep <- timestep 129 physics$enabled <- enabled 130 physics$wind <- wind 133 physics$barnesHut <- barnesHut 137 physics$repulsion <- repulsion 149 options <- list(physics = physics) nameattr [all …]
|
/dports/misc/sdformat/osrf-sdformat-f555f9a69f8f/test/integration/ |
H A D | cfm_damping_implicit_spring_damper.cc | 61 ASSERT_TRUE(physics->HasElement("ode")); in TEST() 72 ASSERT_TRUE(physics->HasElement("ode")); in TEST() 83 ASSERT_TRUE(physics->HasElement("ode")); in TEST() 84 ASSERT_TRUE(physics->GetElement("ode")->HasElement( in TEST() 86 EXPECT_FALSE(physics->GetElement("ode")->Get<bool>( in TEST() 96 ASSERT_TRUE(physics->HasElement("ode")); in TEST() 99 EXPECT_TRUE(physics->GetElement("ode")->Get<bool>( in TEST() 141 ASSERT_TRUE(physics->HasElement("ode")); in TEST() 142 sdf::ElementPtr ode = physics->GetElement("ode"); in TEST() 160 ASSERT_TRUE(physics->HasElement("ode")); in TEST() [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/usdPhysics/examples/ |
H A D | usdPhysicsJoints.usda | 48 rel physics:body0 = </World/StaticBox> 50 float limit:rotX:physics:high = -1 51 float limit:rotX:physics:low = 1 52 float limit:rotY:physics:high = -1 53 float limit:rotY:physics:low = 1 54 float limit:transX:physics:high = -1 55 float limit:transX:physics:low = 1 56 float limit:transY:physics:high = -1 57 float limit:transY:physics:low = 1 58 float limit:transZ:physics:high = -1 [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/physics/ |
H A D | Force_Constant.cpp | 45 physics = NULL; in CLASS_DECLARATION() 86 void idForce_Constant::SetPosition( idPhysics *physics, int id, const idVec3 &point ) { in SetPosition() argument 87 this->physics = physics; in SetPosition() 106 void idForce_Constant::SetPhysics( idPhysics *physics ) { in SetPhysics() argument 107 this->physics = physics; in SetPhysics() 118 if ( !physics ) { in Evaluate() 122 p = physics->GetOrigin( id ) + point * physics->GetAxis( id ); in Evaluate() 124 physics->AddForce( id, p, force ); in Evaluate() 133 if ( physics == phys ) { in RemovePhysics() 134 physics = NULL; in RemovePhysics()
|
H A D | Force_Drag.cpp | 47 physics = NULL; in CLASS_DECLARATION() 78 this->physics = phys; in SetPhysics() 107 return ( physics->GetOrigin( id ) + p * physics->GetAxis( id ) ); in GetDraggedPosition() 122 if ( !physics ) { in Evaluate() 126 clipModel = physics->GetClipModel( id ); in Evaluate() 133 centerOfMass = physics->GetOrigin( id ) + centerOfMass * physics->GetAxis( id ); in Evaluate() 134 dragOrigin = physics->GetOrigin( id ) + p * physics->GetAxis( id ); in Evaluate() 142 physics->SetAngularVelocity( rotation.ToAngularVelocity() / MS2SEC( USERCMD_MSEC ), id ); in Evaluate() 145 physics->SetLinearVelocity( velocity, id ); in Evaluate() 154 if ( physics == phys ) { in RemovePhysics() [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/physics/ |
H A D | Force_Constant.cpp | 45 physics = NULL; in CLASS_DECLARATION() 86 void idForce_Constant::SetPosition( idPhysics *physics, int id, const idVec3 &point ) { in SetPosition() argument 87 this->physics = physics; in SetPosition() 106 void idForce_Constant::SetPhysics( idPhysics *physics ) { in SetPhysics() argument 107 this->physics = physics; in SetPhysics() 118 if ( !physics ) { in Evaluate() 122 p = physics->GetOrigin( id ) + point * physics->GetAxis( id ); in Evaluate() 124 physics->AddForce( id, p, force ); in Evaluate() 133 if ( physics == phys ) { in RemovePhysics() 134 physics = NULL; in RemovePhysics()
|
H A D | Force_Drag.cpp | 47 physics = NULL; in CLASS_DECLARATION() 78 this->physics = phys; in SetPhysics() 107 return ( physics->GetOrigin( id ) + p * physics->GetAxis( id ) ); in GetDraggedPosition() 122 if ( !physics ) { in Evaluate() 126 clipModel = physics->GetClipModel( id ); in Evaluate() 133 centerOfMass = physics->GetOrigin( id ) + centerOfMass * physics->GetAxis( id ); in Evaluate() 134 dragOrigin = physics->GetOrigin( id ) + p * physics->GetAxis( id ); in Evaluate() 142 physics->SetAngularVelocity( rotation.ToAngularVelocity() / MS2SEC( USERCMD_MSEC ), id ); in Evaluate() 145 physics->SetLinearVelocity( velocity, id ); in Evaluate() 154 if ( physics == phys ) { in RemovePhysics() [all …]
|
/dports/devel/love08/love-0.8.0/src/ |
H A D | Makefile.am | 92 ./modules/physics/box2d/World.h \ 98 ./modules/physics/box2d/Shape.h \ 114 ./modules/physics/box2d/Joint.h \ 132 ./modules/physics/box2d/Body.h \ 133 ./modules/physics/box2d/Body.cpp \ 134 ./modules/physics/Shape.h \ 135 ./modules/physics/Shape.cpp \ 136 ./modules/physics/Joint.h \ 137 ./modules/physics/Joint.cpp \ 138 ./modules/physics/Body.h \ [all …]
|
H A D | Makefile.in | 559 ./modules/physics/box2d/Body.h \ 561 ./modules/physics/Shape.h \ 562 ./modules/physics/Shape.cpp \ 563 ./modules/physics/Joint.h \ 564 ./modules/physics/Joint.cpp \ 565 ./modules/physics/Body.h \ 566 ./modules/physics/Body.cpp \ 1166 @$(MKDIR_P) ./modules/physics 1171 ./modules/physics/Shape.$(OBJEXT): modules/physics/$(am__dirstamp) \ 1173 ./modules/physics/Joint.$(OBJEXT): modules/physics/$(am__dirstamp) \ [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/sys/win32/sdk/ |
H A D | source.list | 121 game/physics/Clip.cpp 122 game/physics/Clip.h 123 game/physics/Force.cpp 124 game/physics/Force.h 134 game/physics/Physics.h 153 game/physics/Push.cpp 154 game/physics/Push.h 379 d3xp/physics/Clip.cpp 380 d3xp/physics/Clip.h 382 d3xp/physics/Force.h [all …]
|
/dports/math/py-sympy/sympy-1.9/doc/src/modules/physics/control/ |
H A D | control_plots.rst | 13 .. automethod:: sympy.physics.control.control_plots.pole_zero_plot 15 .. automethod:: sympy.physics.control.control_plots.pole_zero_numerical_data 20 .. automethod:: sympy.physics.control.control_plots.bode_plot 22 .. automethod:: sympy.physics.control.control_plots.bode_magnitude_plot 24 .. automethod:: sympy.physics.control.control_plots.bode_phase_plot 26 .. automethod:: sympy.physics.control.control_plots.bode_magnitude_numerical_data 28 .. automethod:: sympy.physics.control.control_plots.bode_phase_numerical_data 33 .. automethod:: sympy.physics.control.control_plots.impulse_response_plot 40 .. automethod:: sympy.physics.control.control_plots.step_response_plot 42 .. automethod:: sympy.physics.control.control_plots.step_response_numerical_data [all …]
|
/dports/devel/love10/love-0.10.2/src/ |
H A D | Makefile.am | 395 ./modules/physics/box2d/Joint.h \ 399 ./modules/physics/box2d/World.h \ 415 ./modules/physics/box2d/Shape.h \ 444 ./modules/physics/box2d/Body.h \ 458 ./modules/physics/box2d/Body.cpp \ 463 ./modules/physics/Joint.h \ 464 ./modules/physics/Shape.cpp \ 465 ./modules/physics/Shape.h \ 466 ./modules/physics/Body.h \ 467 ./modules/physics/Joint.cpp \ [all …]
|