graph OSG HUD force feedback absolute value because we are only interested in clipping
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7912 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 8ee547f84ea5edc6e8d767725376245414e71295 Former-commit-id: d52972e49a6600b2f8a7f78a05b2e586f27cee0b
This commit is contained in:
parent
d9ae788ec0
commit
ccf6a3580b
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ void OSGPLOT::update(tSituation *s, const SDFrameInfo* frameInfo,
|
|||
else if(this->Ydata == "carspeed") y = (float)currCar->_speed_x * 3.6;
|
||||
else if(this->Ydata == "fpsavverrange") y = (float)frameInfo->fAvgFps;
|
||||
else if(this->Ydata == "carbracketemp") y = (float)currCar->_brakeTemp(0);
|
||||
else if(this->Ydata == "forcefeedback") y = (float)forceFeedback.force;
|
||||
else if(this->Ydata == "forcefeedback") y = fabs((float)forceFeedback.force);
|
||||
|
||||
//get z value
|
||||
float z = 0.1f;
|
||||
|
|
Loading…
Reference in a new issue