vertical screen
This commit is contained in:
parent
ccdabd60b7
commit
98adb4ffda
@ -88,10 +88,9 @@ void TMyApplication::InnerInit()
|
||||
ResourceManager->FlexModelManager.LoadModelFromXml("tube5.xml");
|
||||
FlexModel = ResourceManager->FlexModelManager.InstanciateModel("pit.xml");
|
||||
|
||||
//FlexModel.ScaleModel(0.03f);
|
||||
//FlexModel.MoveModel(vec3(0, -1.2f, -3.5f));
|
||||
//FlexModel.ScaleModel(0.3f);
|
||||
FlexModel.MoveModel(vec3(0, -36.f, -105.f));
|
||||
|
||||
//FlexModel.MoveModel(vec3(0, -36.f, -105.f)); //Landscape screen
|
||||
FlexModel.MoveModel(vec3(0, -36.f, -105.f)); //Portrait screen
|
||||
FlexModel.RefreshBuffer();
|
||||
|
||||
TubeModelArr.resize(4);
|
||||
|
@ -8,8 +8,11 @@ int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
||||
//Create application
|
||||
TMyApplication Application;
|
||||
|
||||
Application.Width = 480;
|
||||
Application.Height = 320;
|
||||
//Application.Width = 480;
|
||||
//Application.Height = 320;
|
||||
|
||||
Application.Width = 320;
|
||||
Application.Height = 480;
|
||||
|
||||
//Start application
|
||||
return MainLoop(Application);
|
||||
|
Loading…
Reference in New Issue
Block a user