/dports/games/flightgear/flightgear-2020.3.11/src/Network/ |
H A D | opengc.cxx | 141 data->pitch = p_pitch->getDoubleValue(); in collect_data() 142 data->bank = p_bank->getDoubleValue(); in collect_data() 147 data->vvi = p_vvi->getDoubleValue(); in collect_data() 148 data->mach = p_mach->getDoubleValue(); in collect_data() 151 data->v_kcas = vel_kcas->getDoubleValue(); in collect_data() 159 data->beta = p_yaw->getDoubleValue(); in collect_data() 170 data->rudder = p_rudder->getDoubleValue(); in collect_data() 171 data->flaps = p_flaps->getDoubleValue(); in collect_data() 187 data->epr[0] = epr0_node->getDoubleValue(); in collect_data() 188 data->epr[1] = epr1_node->getDoubleValue(); in collect_data() [all …]
|
H A D | lfsglass.cxx | 141 data->pitch = p_pitch->getDoubleValue(); in collect_data() 142 data->bank = p_bank->getDoubleValue(); in collect_data() 147 data->vvi = p_vvi->getDoubleValue(); in collect_data() 148 data->mach = p_mach->getDoubleValue(); in collect_data() 151 data->v_kcas = vel_kcas->getDoubleValue(); in collect_data() 159 data->beta = p_yaw->getDoubleValue(); in collect_data() 170 data->rudder = p_rudder->getDoubleValue(); in collect_data() 171 data->flaps = p_flaps->getDoubleValue(); in collect_data() 187 data->epr[0] = epr0_node->getDoubleValue(); in collect_data() 188 data->epr[1] = epr1_node->getDoubleValue(); in collect_data() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/test_suite/unit_tests/Instrumentation/ |
H A D | test_navRadio.cxx | 154 CPPUNIT_ASSERT_DOUBLES_EQUAL(40.0, node->getDoubleValue("heading-deg"), 0.5); in testCDIDeflection() 171 CPPUNIT_ASSERT_DOUBLES_EQUAL(47.0, node->getDoubleValue("heading-deg"), 1); in testCDIDeflection() 216 CPPUNIT_ASSERT_DOUBLES_EQUAL(297.9, node->getDoubleValue("heading-deg"), 1); in testILSBasic() 236 CPPUNIT_ASSERT_DOUBLES_EQUAL(296.9, node->getDoubleValue("heading-deg"), 1); in testILSBasic() 253 CPPUNIT_ASSERT_DOUBLES_EQUAL(301.9, node->getDoubleValue("heading-deg"), 1); in testILSBasic() 273 CPPUNIT_ASSERT_DOUBLES_EQUAL(118.9, node->getDoubleValue("heading-deg"), 1); in testILSBasic() 339 CPPUNIT_ASSERT_DOUBLES_EQUAL(3.0, node->getDoubleValue("gs-direct-deg"), 0.1); in testGS() 354 CPPUNIT_ASSERT_DOUBLES_EQUAL(3.5, node->getDoubleValue("gs-direct-deg"), 0.1); in testGS() 368 CPPUNIT_ASSERT_DOUBLES_EQUAL(2.0, node->getDoubleValue("gs-direct-deg"), 0.1); in testGS() 382 CPPUNIT_ASSERT_DOUBLES_EQUAL(6.0, node->getDoubleValue("gs-direct-deg"), 0.1); in testGS() [all …]
|
H A D | test_gps.cxx | 629 CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0, gpsNode->getDoubleValue("cdi-deflection"), 0.01); in testLongLeg() 899 const double legCourse = gpsNode->getDoubleValue("wp/leg-true-course-deg"); in testOffcourseSequencing() 947 pilot->setCourseTrue(gpsNode->getDoubleValue("wp/leg-true-course-deg")); in testOffcourseSequencing() 948 pilot->flyHeading(gpsNode->getDoubleValue("wp/leg-true-course-deg")); in testOffcourseSequencing() 986 pilot->setCourseTrue(gpsNode->getDoubleValue("wp/leg-true-course-deg")); in testOffcourseSequencing() 987 pilot->flyHeading(gpsNode->getDoubleValue("wp/leg-true-course-deg")); in testOffcourseSequencing() 1040 pilot->setCourseTrue(gpsNode->getDoubleValue("wp/leg-true-course-deg")); in testOffsetFlight() 1075 pilot->setCourseTrue(gpsNode->getDoubleValue("wp/leg-true-course-deg")); in testOffsetFlight() 1142 return fabs(courseErrorNode->getDoubleValue()) < 0.1; in testLegIntercept() 1162 return fabs(courseErrorNode->getDoubleValue()) < 0.1; in testLegIntercept() [all …]
|
H A D | test_hold_controller.cxx | 176 CPPUNIT_ASSERT_DOUBLES_EQUAL(legCrs, m_gpsNode->getDoubleValue("wp/leg-true-course-deg"), 0.5); in testHoldEntryDirect() 177 CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0, m_gpsNode->getDoubleValue("wp/wp[1]/course-error-nm"), 0.05); in testHoldEntryDirect() 234 CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0, m_gpsNode->getDoubleValue("wp/wp[1]/course-error-nm"), 0.05); in testHoldEntryDirect() 293 CPPUNIT_ASSERT_DOUBLES_EQUAL(legCrs, m_gpsNode->getDoubleValue("wp/leg-true-course-deg"), 0.5); in testHoldEntryTeardrop() 294 CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0, m_gpsNode->getDoubleValue("wp/wp[1]/course-error-nm"), 0.1); in testHoldEntryTeardrop() 348 CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0, m_gpsNode->getDoubleValue("wp/wp[1]/course-error-nm"), 0.05); in testHoldEntryTeardrop() 398 CPPUNIT_ASSERT_DOUBLES_EQUAL(legCrs, m_gpsNode->getDoubleValue("wp/leg-true-course-deg"), 0.5); in testHoldEntryParallel() 399 CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0, m_gpsNode->getDoubleValue("wp/wp[1]/course-error-nm"), 0.05); in testHoldEntryParallel() 451 CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0, m_gpsNode->getDoubleValue("wp/wp[1]/course-error-nm"), 0.05); in testHoldEntryParallel() 503 CPPUNIT_ASSERT_DOUBLES_EQUAL(legCrs, m_gpsNode->getDoubleValue("wp/leg-true-course-deg"), 0.5); in testLeftHoldEntryDirect() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.debug/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/eval/ |
H A D | DoubleAssignmentOperatorsTests.java | 48 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentByte() 55 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentByte() 60 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentByte() 68 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentByte() 73 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentByte() 80 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentByte() 85 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentByte() 105 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentChar() 112 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentChar() 117 doubleValue = ((IJavaPrimitiveValue)value).getDoubleValue(); in testDoublePlusAssignmentChar() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/FDM/ |
H A D | flightProperties.cxx | 61 return _root->getDoubleValue("velocities/uBody-fps", 0.0); in get_uBody() 66 return _root->getDoubleValue("velocities/vBody-fps", 0.0); in get_vBody() 71 return _root->getDoubleValue("velocities/wBody-fps", 0.0); in get_wBody() 106 return _root->getDoubleValue("position/altitude-ft"); in get_Altitude() 116 return _root->getDoubleValue("position/latitude-deg"); in get_Latitude_deg() 121 return _root->getDoubleValue("position/longitude-deg"); in get_Longitude_deg() 126 return _root->getDoubleValue("orientation/track-deg"); in get_Track() 131 return _root->getDoubleValue("orientation/roll-deg"); in get_Phi_deg() 136 return _root->getDoubleValue("orientation/pitch-deg"); in get_Theta_deg() 141 return _root->getDoubleValue("orientation/heading-deg"); in get_Psi_deg() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/Instrumentation/ |
H A D | rad_alt.cxx | 40 _interval(node->getDoubleValue("update-interval-sec", 1.0)) in RadarAltimeter() 66 _Instrument->getDoubleValue("elev-limit", true); in init() 67 _Instrument->getDoubleValue("elev-step-deg", true); in init() 68 _Instrument->getDoubleValue("az-limit-deg", true); in init() 69 _Instrument->getDoubleValue("az-step-deg", true); in init() 70 _Instrument->getDoubleValue("max-range-m", true); in init() 71 _Instrument->getDoubleValue("min-range-m", true); in init() 72 _Instrument->getDoubleValue("tilt", true); in init() 73 _Instrument->getDoubleValue("set-height-ft", true); in init() 74 _Instrument->getDoubleValue("set-excursion-percent", true); in init() [all …]
|
H A D | airspeed_indicator.cxx | 36 _ias_limit(node->getDoubleValue("ias-limit", 248.0)), in AirspeedIndicator() 37 _mach_limit(node->getDoubleValue("mach-limit", 0.48)), in AirspeedIndicator() 38 _alt_threshold(node->getDoubleValue("alt-threshold", 13200)) in AirspeedIndicator() 100 double pt = _total_pressure_node->getDoubleValue() ; in update() 101 double p = _static_pressure_node->getDoubleValue() ; in update() 112 double last_speed_kt = _speed_node->getDoubleValue(); in update() 124 double lmt = _ias_limit_node->getDoubleValue(); in update() 125 if (_pressure_alt->getDoubleValue() > _alt_threshold_node->getDoubleValue()) { in update() 126 double mmo = _mach_limit_node->getDoubleValue(); in update() 127 lmt = (filtered_speed/_mach_node->getDoubleValue())* mmo; in update() [all …]
|
H A D | mag_compass.cxx | 93 if (fabs(_beta_node->getDoubleValue()) > 12.0) { in update() 119 double phi = _roll_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; in update() 122 double theta = _pitch_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS in update() 123 + _pitch_offset_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; in update() 126 double psi = _heading_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; in update() 129 double mu = _dip_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; in update() 144 double x_accel_g = _x_accel_node->getDoubleValue() / 32; in update() 145 double y_accel_g = _y_accel_node->getDoubleValue() / 32; in update() 175 target_deg -= _deviation_node->getDoubleValue(); in update() 180 double old_deg = _out_node->getDoubleValue(); in update()
|
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/Externals/MathMLSolver/include/ |
H A D | MathMLSolverFunctionExtensions.h | 120 …result.setValue( ::pow( paramlist.at( 0 ).getDoubleValue(), paramlist.at( 1 ).getDoubleValue() ) ); in pow() 168 double x = paramlist.at( 0 ).getDoubleValue(); in arcsec() 175 double x = paramlist.at( 0 ).getDoubleValue(); in arccsc() 182 double x = paramlist.at( 0 ).getDoubleValue(); in arccotan() 212 double x = paramlist.at( 0 ).getDoubleValue(); in sech() 219 double x = paramlist.at( 0 ).getDoubleValue(); in cosech() 226 double x = paramlist.at( 0 ).getDoubleValue(); in cotanh() 234 double x = paramlist.at( 0 ).getDoubleValue(); in arcsinh() 241 double x = paramlist.at( 0 ).getDoubleValue(); in arccosh() 248 double x = paramlist.at( 0 ).getDoubleValue(); in arctanh() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/Cockpit/ |
H A D | agradar.cxx | 141 float yaw = _user_hdg_deg_node->getDoubleValue(); in getCartAntennaPos() 143 float roll = _user_roll_deg_node->getDoubleValue(); in getCartAntennaPos() 145 double x_offset_m =_xOffsetMNode->getDoubleValue(); in getCartAntennaPos() 146 double y_offset_m =_yOffsetMNode->getDoubleValue(); in getCartAntennaPos() 147 double z_offset_m =_zOffsetMNode->getDoubleValue(); in getCartAntennaPos() 183 float yaw = _user_hdg_deg_node->getDoubleValue(); in setUserVec() 186 double tilt = _Instrument->getDoubleValue("tilt"); in setUserVec() 187 double trk = _Instrument->getDoubleValue("trk"); in setUserVec() 264 tilt = _tiltNode->getDoubleValue(); in update_terrain() 268 az_step = _azStepDegNode->getDoubleValue(); in update_terrain() [all …]
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/material/ |
H A D | mat.cxx | 271 xsize = props->getDoubleValue("xsize", 0.0); in read_properties() 272 ysize = props->getDoubleValue("ysize", 0.0); in read_properties() 381 ambient[0] = props->getDoubleValue("ambient/r", 0.2); in read_properties() 382 ambient[1] = props->getDoubleValue("ambient/g", 0.2); in read_properties() 383 ambient[2] = props->getDoubleValue("ambient/b", 0.2); in read_properties() 384 ambient[3] = props->getDoubleValue("ambient/a", 1.0); in read_properties() 386 diffuse[0] = props->getDoubleValue("diffuse/r", 0.8); in read_properties() 387 diffuse[1] = props->getDoubleValue("diffuse/g", 0.8); in read_properties() 401 shininess = props->getDoubleValue("shininess", 1.0); in read_properties() 606 _left(p->getDoubleValue("left", 0.0)), in SGMaterialGlyph() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/Viewer/ |
H A D | view.cxx | 160 double x_offset_m = config->getDoubleValue("x-offset-m"); in createFromProperties() 161 double y_offset_m = config->getDoubleValue("y-offset-m"); in createFromProperties() 162 double z_offset_m = config->getDoubleValue("z-offset-m"); in createFromProperties() 168 double roll_offset_deg = config->getDoubleValue("roll-offset-deg"); in createFromProperties() 889 chase_distance_m = ViewPropertyEvaluator::getDoubleValue( in handleAGL() 1011 ViewPropertyEvaluator::getDoubleValue( in recalcLookAt() 1017 ViewPropertyEvaluator::getDoubleValue( in recalcLookAt() 1023 ViewPropertyEvaluator::getDoubleValue( in recalcLookAt() 1031 ViewPropertyEvaluator::getDoubleValue( in recalcLookAt() 1037 ViewPropertyEvaluator::getDoubleValue( in recalcLookAt() [all …]
|
H A D | CameraGroup_compositor.cxx | 445 double radius = psNode->getDoubleValue("radius", 1.0); in buildDistortionCamera() 446 double collar = psNode->getDoubleValue("collar", 0.45); in buildDistortionCamera() 499 double roll = viewNode->getDoubleValue("roll-deg", 0.0); in buildCamera() 500 double x = viewNode->getDoubleValue("x", 0.0); in buildCamera() 501 double y = viewNode->getDoubleValue("y", 0.0); in buildCamera() 502 double z = viewNode->getDoubleValue("z", 0.0); in buildCamera() 563 double top = projectionNode->getDoubleValue("top", 0.0); in buildCamera() 657 double shearx = cameraNode->getDoubleValue("shear-x", 0); in buildCamera() 683 viewportNode->getDoubleValue("x"), in buildCamera() 684 viewportNode->getDoubleValue("y"), in buildCamera() [all …]
|
/dports/audio/polyphone/polyphone-75a5e88/sources/core/input/sfz/ |
H A D | sfzparametergroup.cpp | 567 …if (getDoubleValue(SfzParameter::op_fileg_delay) == getDoubleValue(SfzParameter::op_pitcheg_delay)… 568 …getDoubleValue(SfzParameter::op_fileg_attack) == getDoubleValue(SfzParameter::op_pitcheg_attack) && 569 … getDoubleValue(SfzParameter::op_fileg_hold) == getDoubleValue(SfzParameter::op_pitcheg_hold) && 570 … getDoubleValue(SfzParameter::op_fileg_decay) == getDoubleValue(SfzParameter::op_pitcheg_decay) && 571 …getDoubleValue(SfzParameter::op_fileg_sustain) == getDoubleValue(SfzParameter::op_pitcheg_sustain)… 572 …getDoubleValue(SfzParameter::op_fileg_release) == getDoubleValue(SfzParameter::op_pitcheg_release)… 573 …getDoubleValue(SfzParameter::op_fileg_holdcc133) == getDoubleValue(SfzParameter::op_noteToModEnvHo… 574 …getDoubleValue(SfzParameter::op_fileg_decaycc133) == getDoubleValue(SfzParameter::op_noteToModEnvD… 641 …if (getDoubleValue(SfzParameter::op_filLFOdelay) == getDoubleValue(SfzParameter::op_modLFOdelay) && 642 … getDoubleValue(SfzParameter::op_filLFOfreq) == getDoubleValue(SfzParameter::op_modLFOfreq)) [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/AIModel/ |
H A D | AIGroundVehicle.cxx | 70 setXOffset(scFileNode->getDoubleValue("hitch-x-offset", 35.0)); in readFromScenario() 71 setYOffset(scFileNode->getDoubleValue("hitch-y-offset", 0.0)); in readFromScenario() 72 setZOffset(scFileNode->getDoubleValue("hitch-z-offset", 0.0)); in readFromScenario() 73 setPitchoffset(scFileNode->getDoubleValue("pitch-offset", 0.0)); in readFromScenario() 74 setRolloffset(scFileNode->getDoubleValue("roll-offset", 0.0)); in readFromScenario() 75 setYawoffset(scFileNode->getDoubleValue("yaw-offset", 0.0)); in readFromScenario() 76 setPitchCoeff(scFileNode->getDoubleValue("pitch-coefficient", 0.1)); in readFromScenario() 78 setTowAngleGain(scFileNode->getDoubleValue("tow-angle-gain", 1.0)); in readFromScenario() 311 double lat = _selected_ac->getDoubleValue("position/latitude-deg"); in setParent() 312 double lon = _selected_ac->getDoubleValue("position/longitude-deg"); in setParent() [all …]
|
H A D | AIWingman.cxx | 57 setLife(scFileNode->getDoubleValue("life", -1)); in readFromScenario() 251 p_hdg = _p_hdg_node->getDoubleValue(); in formateToAC() 252 p_pch = _p_pch_node->getDoubleValue(); in formateToAC() 253 p_rll = _p_rll_node->getDoubleValue(); in formateToAC() 254 p_ht = _p_alt_node->getDoubleValue(); in formateToAC() 256 setSpeed(_p_spd_node->getDoubleValue()); in formateToAC() 279 p_wow = user_WoW_node->getDoubleValue(); in formateToAC() 348 p_hdg = _p_hdg_node->getDoubleValue(); in Join() 349 p_pch = _p_pch_node->getDoubleValue(); in Join() 350 p_rll = _p_rll_node->getDoubleValue(); in Join() [all …]
|
H A D | AIEscort.cxx | 74 setStnRange(scFileNode->getDoubleValue("station/range-nm", 1)); in readFromScenario() 75 setStnBrg(scFileNode->getDoubleValue("station/brg-deg", 0.0)); in readFromScenario() 76 setStnLimit(scFileNode->getDoubleValue("station/range-limit-nm", 0.2)); in readFromScenario() 78 setStnSpeed(scFileNode->getDoubleValue("station/speed-kts", 2.5)); in readFromScenario() 80 setStnHtFt(scFileNode->getDoubleValue("station/height-ft", 0.0)); in readFromScenario() 83 setMaxSpeed(scFileNode->getDoubleValue("max-speed-kts", 30.0)); in readFromScenario() 227 double lat = _selected_ac->getDoubleValue("position/latitude-deg"); in setParent() 228 double lon = _selected_ac->getDoubleValue("position/longitude-deg"); in setParent() 229 double elevation = _selected_ac->getDoubleValue("position/altitude-ft"); in setParent() 281 double pitch = _selected_ac->getDoubleValue("orientation/pitch-deg"); in getCartHitchPosAt() [all …]
|
H A D | performancedata.cxx | 66 return node->getDoubleValue(); in readRenamedProp() 82 _vRotate = db_node->getDoubleValue("rotate-speed-kts", _vRotate); in initFromProps() 83 _vTakeOff = db_node->getDoubleValue("takeoff-speed-kts", _vTakeOff); in initFromProps() 84 _vClimb = db_node->getDoubleValue("climb-speed-kts", _vClimb); in initFromProps() 85 _vCruise = db_node->getDoubleValue("cruise-speed-kts", _vCruise); in initFromProps() 89 _vApproach = db_node->getDoubleValue("approach-speed-kts", _vApproach); in initFromProps() 90 _vTouchdown = db_node->getDoubleValue("touchdown-speed-kts", _vTouchdown); in initFromProps() 91 _vTaxi = db_node->getDoubleValue("taxi-speed-kts", _vTaxi); in initFromProps() 92 _wingSpan = db_node->getDoubleValue("geometry/wing/span-ft", _wingSpan); in initFromProps() 93 _wingChord = db_node->getDoubleValue("geometry/wing/chord-ft", _wingChord); in initFromProps() [all …]
|
H A D | submodel.cxx | 83 contrail_altitude = _contrail_altitude_node->getDoubleValue(); in init() 353 sm->speed = sm->speed_node->getDoubleValue(); in transform() 374 IC.lat = _user_lat_node->getDoubleValue(); in transform() 375 IC.lon = _user_lon_node->getDoubleValue(); in transform() 376 IC.alt = _user_alt_node->getDoubleValue(); in transform() 380 IC.speed = _user_speed_node->getDoubleValue(); in transform() 391 IC.wind_from_east = _user_wind_from_east_node->getDoubleValue(); in transform() 392 IC.wind_from_north = _user_wind_from_north_node->getDoubleValue(); in transform() 529 sm->cd = entry_node->getDoubleValue("cd", 0.193); in setData() 626 sm->contents = sm->contents_node->getDoubleValue(); in setData() [all …]
|
/dports/textproc/zorba/zorba-2.7.0/src/runtime/maths/ |
H A D | maths_impl.cpp | 49 GENV_ITEMFACTORY->createDouble(result, result->getDoubleValue().sqrt()); in nextImpl() 65 GENV_ITEMFACTORY->createDouble(result, result->getDoubleValue().exp()); in nextImpl() 97 GENV_ITEMFACTORY->createDouble(result, result->getDoubleValue().log()); in nextImpl() 226 doub1 = n0->getDoubleValue(); in nextImpl() 227 doub2 = n1->getDoubleValue(); in nextImpl() 281 xs_double doub1 = n0->getDoubleValue(); in nextImpl() 282 xs_double doub2 = n1->getDoubleValue(); in nextImpl() 315 xs_double doub = n0->getDoubleValue(); in nextImpl() 354 xs_double doub1 = n0->getDoubleValue(); in nextImpl() 549 xs_double doub = result->getDoubleValue(); in nextImpl() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/FDM/SP/ |
H A D | ACMS.cxx | 65 double pitch = _pitch->getDoubleValue(); in update() 66 double roll = _roll->getDoubleValue(); in update() 67 double heading = _heading->getDoubleValue(); in update() 68 double alt = _alt->getDoubleValue(); in update() 74 _set_Climb_Rate( _climb_rate->getDoubleValue() ); in update() 77 double acc_lat = _acc_lat->getDoubleValue(); in update() 78 double acc_lon = _acc_lon->getDoubleValue(); in update() 79 double acc_down = _acc_down->getDoubleValue(); in update() 84 double velocity = (_speed->getDoubleValue() * SG_KT_TO_MPS) + accel * dt; in update()
|
/dports/games/flightgear/flightgear-2020.3.11/src/Systems/ |
H A D | static.cxx | 28 _tau(SGMiscd::max(.0,node->getDoubleValue("tau", 1))), in StaticSystem() 29 _error_factor(node->getDoubleValue("error-factor", 0)), in StaticSystem() 59 _pressure_out_node->setDoubleValue(_pressure_in_node->getDoubleValue()); in reinit() 76 …double p_new = _pressure_in_node->getDoubleValue(); //current static press… in update() 77 …double p = _pressure_out_node->getDoubleValue(); //last pressure in air… in update() 89 beta = _beta_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; in update() 94 alpha = _alpha_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; in update() 95 beta = _beta_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; in update() 100 mach = _mach_node->getDoubleValue(); in update()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/model/ |
H A D | SGLightAnimation.cxx | 39 SGVec4d( getConfig()->getDoubleValue(n "/r"), \ 40 getConfig()->getDoubleValue(n "/g"), \ 41 getConfig()->getDoubleValue(n "/b"), \ 42 getConfig()->getDoubleValue(n "/a") ) 97 …n = SGVec3d( getConfig()->getDoubleValue("position/x"), getConfig()->getDoubleValue("position/y"),… in SGLightAnimation() 98 … = SGVec3d( getConfig()->getDoubleValue("direction/x"), getConfig()->getDoubleValue("direction/y")… in SGLightAnimation() 104 … SGVec3d( getConfig()->getDoubleValue("attenuation/c"), getConfig()->getDoubleValue("attenuation/l… in SGLightAnimation() 105 _exponent = getConfig()->getDoubleValue("exponent"); in SGLightAnimation() 106 _cutoff = getConfig()->getDoubleValue("cutoff"); in SGLightAnimation() 107 _near = getConfig()->getDoubleValue("near-m"); in SGLightAnimation() [all …]
|