vertical screen
This commit is contained in:
parent
ccdabd60b7
commit
98adb4ffda
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user