Commit 29265cae authored by oscar's avatar oscar

使用物体轨迹方向位车辆朝向。

parent e3f8be00
......@@ -532,6 +532,10 @@ int Track3D::GetColorInfo(std::string& color)
}
float Track3D::GetRotY(float rot_y)
{
if(m_center_rot_y == 0)
return rot_y;
else
return m_center_rot_y;
float rot_y_real = rot_y;
int size = m_rot_y_diret.size();
int count = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment