Home
last modified time | relevance | path

Searched refs:TR_CS (Results 1 – 5 of 5) sorted by relevance

/dports/games/torcs/torcs-1.3.7/src/modules/track/
H A Dtrack3.cpp274 curBorder->angle[TR_CS] = curSeg->angle[TR_CS]; in AddSides()
507 curSide->angle[TR_CS] = curSeg->angle[TR_CS]; in AddSides()
558 curSide->vertex[TR_SL].x = curSide->vertex[TR_SR].x - sw * cos(curSide->angle[TR_CS]); in AddSides()
559 curSide->vertex[TR_SL].y = curSide->vertex[TR_SR].y - sw * sin(curSide->angle[TR_CS]); in AddSides()
595 curSide->vertex[TR_SR].x = curSide->vertex[TR_SL].x + sw * cos(curSide->angle[TR_CS]); in AddSides()
596 curSide->vertex[TR_SR].y = curSide->vertex[TR_SL].y + sw * sin(curSide->angle[TR_CS]); in AddSides()
639 curSide->vertex[TR_SL].x = curSide->vertex[TR_SR].x + sw * cos(curSide->angle[TR_CS]); in AddSides()
640 curSide->vertex[TR_SL].y = curSide->vertex[TR_SR].y + sw * sin(curSide->angle[TR_CS]); in AddSides()
676 curSide->vertex[TR_SR].x = curSide->vertex[TR_SL].x - sw * cos(curSide->angle[TR_CS]); in AddSides()
1133 curSeg->angle[TR_CS] = alf - PI / 2.0; in CreateSegRing3()
[all …]
H A Dtrack4.cpp745 curSeg->angle[TR_CS] = alf - PI / 2.0; in CreateSegRing()
781 alfl = curSeg->angle[TR_CS]; in CreateSegRing()
811 curSeg->angle[TR_CS] = alf + PI / 2.0; in CreateSegRing()
847 alfl = curSeg->angle[TR_CS]; in CreateSegRing()
1257 alfl = curBorder->angle[TR_CS]; in updateMinMaxForTurn()
1333 …r->vertex[TR_SL].x = curBorder->vertex[TR_SR].x - sign * startwidth * cos(curBorder->angle[TR_CS]); in initSideForTurn()
1334 …r->vertex[TR_SL].y = curBorder->vertex[TR_SR].y - sign * startwidth * sin(curBorder->angle[TR_CS]); in initSideForTurn()
1337 …].y = curBorder->vertex[TR_ER].y - sign * endwidth * sin(curBorder->angle[TR_CS] + sign * curBorde… in initSideForTurn()
1351 …r->vertex[TR_SR].x = curBorder->vertex[TR_SL].x + sign * startwidth * cos(curBorder->angle[TR_CS]); in initSideForTurn()
1352 …r->vertex[TR_SR].y = curBorder->vertex[TR_SL].y + sign * startwidth * sin(curBorder->angle[TR_CS]); in initSideForTurn()
[all …]
/dports/games/torcs/torcs-1.3.7/src/interfaces/
H A Dtrack.h354 #define TR_CS 6 /**< Center start angle */ macro
/dports/games/torcs/torcs-1.3.7/src/libs/robottools/
H A Drttrack.cpp274 theta = atan2(y, x) - (seg->angle[TR_CS] + a2); in RtTrackGlobal2Local()
296 theta = seg->angle[TR_CS] - a2 - atan2(y, x); in RtTrackGlobal2Local()
/dports/games/torcs/torcs-1.3.7/src/libs/raceengineclient/
H A Draceinit.cpp757 RAD2DEG(seg->angle[TR_CS])); in reDumpTrack()