Code: Select all
void
Application::Render( void )
{
m_pVideoDriver->beginScene(true,true, SColor(127,127,127,255) );
RenderWindowCaption();
m_pSceneManager->drawAll();
m_pGUIEnviroment->drawAll();
m_pChatManager->Render();
m_pVideoDriver->draw3DLine( vector3df(0,-30,-500), vector3df(0,-30,500) );
m_pVideoDriver->endScene();
}
Instead of going from start to end point the line follows the camera. so when I look left the line follows;