Home
last modified time | relevance | path

Searched refs:_pos_Y (Results 1 – 25 of 36) sorted by relevance

12

/dports/games/torcs/torcs-1.3.7/src/modules/simu/simuv3/
H A Dsimu.cpp153 …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 Dsimu.cpp133 …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 Dgrcam.cpp49 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 Dgrtrackmap.cpp517 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 Dmycar.h61 …inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; currentpos.z = me-… in updatePos()
H A Dberniw.cpp237 …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 Dtrackdesc.h177 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
H A Dtrackdesc.cpp262 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 Dmycar.h61 …inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; currentpos.z = me-… in updatePos()
H A Dberniw2.cpp238 …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 Dtrackdesc.h177 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 Dmycar.h63 inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; } in updatePos()
H A Dinferno.cpp244 …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 Dtrackdesc.h233 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 Dmycar.h63 inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; } in updatePos()
H A Dtita.cpp244 …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 Dtrackdesc.h233 d = ts->distToMiddleSqr3D(car->_pos_X, car->_pos_Y, car->_pos_Z); in getCurrentSegment()
H A Dtrackdesc.cpp288 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 Dmycar.h63 inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; } in updatePos()
H A Dlliaw.cpp244 …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 Dtrackdesc.h233 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 Dmycar.h61 …inline void updatePos() { currentpos.x = me->_pos_X; currentpos.y = me->_pos_Y; currentpos.z = me-… in updatePos()
H A Dberniw3.cpp237 …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 Dtrackdesc.h177 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 Draceinit.cpp385 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()

12