Home
last modified time | relevance | path

Searched refs:numLaps (Results 1 – 4 of 4) sorted by relevance

/dports/games/tuxkart/tuxkart-0.4.0/src/
H A Dstart_tuxkart.cxx13 static int numLaps = 5 ; variable
160 numLaps = 1 + (int)( d / 0.05f ) ; in numLapsSlider_cb()
162 if ( numLaps < 1 ) numLaps = 1 ; in numLapsSlider_cb()
163 if ( numLaps > 20 ) numLaps = 20 ; in numLapsSlider_cb()
165 sprintf ( numLapsLegend, "%2d", numLaps ) ; in numLapsSlider_cb()
/dports/math/g2o/g2o-20201223_git/g2o/examples/sphere/
H A Dcreate_sphere.cpp47 int numLaps; in main() local
56 arg.param("laps", numLaps, 50, "how many times the robot travels around the sphere"); in main()
100 for (int f = 0; f < numLaps; ++f){ in main()
106 … Eigen::AngleAxisd roty(-0.5*M_PI + id*M_PI / (numLaps * nodesPerLevel), Eigen::Vector3d::UnitY()); in main()
132 for (int f = 1; f < numLaps; ++f) { in main()
136 if (f == numLaps-1 && n == 1) in main()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/ride/
H A DStation.cpp195 int32_t numLaps = ride->num_laps; in ride_update_station_race() local
203 if (vehicle->status != Vehicle::Status::WaitingToDepart && vehicle->num_laps >= numLaps) in ride_update_station_race()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/modes/
H A Dlinear_world.cpp689 int numLaps = RaceManager::get()->getNumLaps(); in getKartsDisplayInfo() local
691 if(kart_info.m_finished_laps>=numLaps) in getKartsDisplayInfo()
696 else if(kart_info.m_finished_laps>=0 && numLaps>1) in getKartsDisplayInfo()
699 /((float)numLaps-1.0f) )); in getKartsDisplayInfo()