vertical screen

This commit is contained in:
Vladislav Khorev 2013-02-04 07:44:34 +00:00
parent ccdabd60b7
commit 98adb4ffda
2 changed files with 8 additions and 6 deletions

View File

@ -88,10 +88,9 @@ void TMyApplication::InnerInit()
ResourceManager->FlexModelManager.LoadModelFromXml("tube5.xml"); ResourceManager->FlexModelManager.LoadModelFromXml("tube5.xml");
FlexModel = ResourceManager->FlexModelManager.InstanciateModel("pit.xml"); FlexModel = ResourceManager->FlexModelManager.InstanciateModel("pit.xml");
//FlexModel.ScaleModel(0.03f);
//FlexModel.MoveModel(vec3(0, -1.2f, -3.5f)); //FlexModel.MoveModel(vec3(0, -36.f, -105.f)); //Landscape screen
//FlexModel.ScaleModel(0.3f); FlexModel.MoveModel(vec3(0, -36.f, -105.f)); //Portrait screen
FlexModel.MoveModel(vec3(0, -36.f, -105.f));
FlexModel.RefreshBuffer(); FlexModel.RefreshBuffer();
TubeModelArr.resize(4); TubeModelArr.resize(4);

View File

@ -8,8 +8,11 @@ int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
//Create application //Create application
TMyApplication Application; TMyApplication Application;
Application.Width = 480; //Application.Width = 480;
Application.Height = 320; //Application.Height = 320;
Application.Width = 320;
Application.Height = 480;
//Start application //Start application
return MainLoop(Application); return MainLoop(Application);