/dports/games/torcs/torcs-1.3.7/src/modules/simu/simuv3/ |
H A D | simu.cpp | 153 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X, carElt->_pos_Y, carElt->_pos_Z - carElt->_stat… in SimConfig() 213 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X, carElt->_pos_Y, carElt->_pos_Z - carElt->_stat… in RemoveCar() 220 …travelTime = DIST(car->restPos.pos.x, car->restPos.pos.y, carElt->_pos_X, carElt->_pos_Y) / PULL_S… in RemoveCar() 222 car->restPos.vel.y = (car->restPos.pos.y - carElt->_pos_Y) / travelTime; in RemoveCar() 230 carElt->_pos_Y += car->restPos.vel.y * SimDeltaTime; in RemoveCar() 231 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X, carElt->_pos_Y, carElt->_pos_Z - carElt->_stat… in RemoveCar() 234 …car->restPos.pos.x - carElt->_pos_X) < 0.5) && (fabs(car->restPos.pos.y - carElt->_pos_Y) < 0.5)) { in RemoveCar() 243 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X, carElt->_pos_Y, carElt->_pos_Z - carElt->_stat… in RemoveCar() 430 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X, carElt->_pos_Y, carElt->_pos_Z - carElt->_stat… in SimUpdate() 460 carElt->_pos_Y = P[1]; in SimUpdate()
|
/dports/games/torcs/torcs-1.3.7/src/modules/simu/simuv2/ |
H A D | simu.cpp | 133 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X - carElt->_statGC_x, carElt->_pos_Y - carElt->_… in SimConfig() 188 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X - carElt->_statGC_x, carElt->_pos_Y - carElt->_… in RemoveCar() 206 …travelTime = DIST(car->restPos.pos.x, car->restPos.pos.y, carElt->_pos_X, carElt->_pos_Y) / PULL_S… in RemoveCar() 208 car->restPos.vel.y = (car->restPos.pos.y - carElt->_pos_Y) / travelTime; in RemoveCar() 211 carElt->_pos_Y += car->restPos.vel.y * SimDeltaTime; in RemoveCar() 212 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X - carElt->_statGC_x, carElt->_pos_Y - carElt->_… in RemoveCar() 215 …car->restPos.pos.x - carElt->_pos_X) < 0.5) && (fabs(car->restPos.pos.y - carElt->_pos_Y) < 0.5)) { in RemoveCar() 225 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X - carElt->_statGC_x, carElt->_pos_Y - carElt->_… in RemoveCar() 419 …sgMakeCoordMat4(carElt->pub.posMat, carElt->_pos_X - carElt->_statGC_x, carElt->_pos_Y - carElt->_… in SimUpdate()
|
/dports/games/torcs/torcs-1.3.7/src/modules/graphic/ssggraph/ |
H A D | grcam.cpp | 49 float dy = car->_pos_Y - eye[1]; in getDist2() 507 y = car->_pos_Y - dist * SinA; in update() 562 y = car->_pos_Y - dist * SinA; in update() 568 center[1] = car->_pos_Y; in update() 608 center[1] = car->_pos_Y; in update() 645 tdble y = car->_pos_Y + disty; in update() 652 center[1] = car->_pos_Y; in update() 703 tdble y = car->_pos_Y; in update() 767 center[1] = car->_pos_Y; in update() 893 center[1] = car->_pos_Y; in update() [all …]
|
H A D | grtrackmap.cpp | 517 y1 = (currentCar->_pos_Y - radius - track_min_y)/tracksize; in drawTrackPanning() 519 y2 = (currentCar->_pos_Y + radius - track_min_y)/tracksize; in drawTrackPanning() 548 float yc = s->cars[i]->_pos_Y - currentCar->_pos_Y; in drawTrackPanning() 597 (currentCar->_pos_Y - track_min_y)/tracksize, in drawTrackPanningAligned() 629 float yc = (s->cars[i]->_pos_Y - currentCar->_pos_Y)/(radius*2.0)*map_size; in drawTrackPanningAligned() 664 float car_y = (currentCar->_pos_Y - track_min_y)/track_height*map_size*track_y_ratio + y; in drawCar()
|
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw/ |
H A D | mycar.h | 61 …inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; currentpos.z = me-… in updatePos()
|
H A D | berniw.cpp | 237 …targetAngle = atan2(myc->destpathseg->getLoc()->y - car->_pos_Y, myc->destpathseg->getLoc()->x - c… in drive() 381 … myc->currentseg->getMiddle()->x - car->_pos_X, cy = myc->currentseg->getMiddle()->y - car->_pos_Y; in drive()
|
H A D | trackdesc.h | 177 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
H A D | trackdesc.cpp | 262 d = ts->distToMiddle3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw2/ |
H A D | mycar.h | 61 …inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; currentpos.z = me-… in updatePos()
|
H A D | berniw2.cpp | 238 …targetAngle = atan2(myc->destpathseg->getLoc()->y - car->_pos_Y, myc->destpathseg->getLoc()->x - c… in drive() 383 … myc->currentseg->getMiddle()->x - car->_pos_X, cy = myc->currentseg->getMiddle()->y - car->_pos_Y; in drive()
|
H A D | trackdesc.h | 177 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
/dports/games/torcs/torcs-1.3.7/src/drivers/inferno/ |
H A D | mycar.h | 63 inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; } in updatePos()
|
H A D | inferno.cpp | 244 …targetAngle = atan2(myc->dynpath->getLoc(myc->destpathsegid)->y - car->_pos_Y, myc->dynpath->getLo… in drive() 412 … myc->currentseg->getMiddle()->x - car->_pos_X, cy = myc->currentseg->getMiddle()->y - car->_pos_Y; in drive()
|
H A D | trackdesc.h | 233 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
/dports/games/torcs/torcs-1.3.7/src/drivers/tita/ |
H A D | mycar.h | 63 inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; } in updatePos()
|
H A D | tita.cpp | 244 …targetAngle = atan2(myc->dynpath->getLoc(myc->destpathsegid)->y - car->_pos_Y, myc->dynpath->getLo… in drive() 412 … myc->currentseg->getMiddle()->x - car->_pos_X, cy = myc->currentseg->getMiddle()->y - car->_pos_Y; in drive()
|
H A D | trackdesc.h | 233 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
H A D | trackdesc.cpp | 288 d = ts->distToMiddle3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
/dports/games/torcs/torcs-1.3.7/src/drivers/lliaw/ |
H A D | mycar.h | 63 inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; } in updatePos()
|
H A D | lliaw.cpp | 244 …targetAngle = atan2(myc->dynpath->getLoc(myc->destpathsegid)->y - car->_pos_Y, myc->dynpath->getLo… in drive() 412 … myc->currentseg->getMiddle()->x - car->_pos_X, cy = myc->currentseg->getMiddle()->y - car->_pos_Y; in drive()
|
H A D | trackdesc.h | 233 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw3/ |
H A D | mycar.h | 61 …inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; currentpos.z = me-… in updatePos()
|
H A D | berniw3.cpp | 237 …targetAngle = atan2(myc->destpathseg->getLoc()->y - car->_pos_Y, myc->destpathseg->getLoc()->x - c… in drive() 381 … myc->currentseg->getMiddle()->x - car->_pos_X, cy = myc->currentseg->getMiddle()->y - car->_pos_Y; in drive()
|
H A D | trackdesc.h | 177 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
|
/dports/games/torcs/torcs-1.3.7/src/libs/raceengineclient/ |
H A D | raceinit.cpp | 385 RtTrackLocal2Global(&(car->_trkPos), &(car->_pos_X), &(car->_pos_Y), TR_TORIGHT); in initStartingGrid() 390 RtTrackLocal2Global(&(car->_trkPos), &(car->_pos_X), &(car->_pos_Y), TR_TORIGHT); in initStartingGrid() 395 RtTrackLocal2Global(&(car->_trkPos), &(car->_pos_X), &(car->_pos_Y), TR_TORIGHT); in initStartingGrid()
|