diff --git a/jni/main_code.cpp b/jni/main_code.cpp index 47ad130..66e4f8d 100644 --- a/jni/main_code.cpp +++ b/jni/main_code.cpp @@ -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); diff --git a/windows/SalmonTemplate/Template/main.cpp b/windows/SalmonTemplate/Template/main.cpp index 1eb1c2b..35c38e9 100644 --- a/windows/SalmonTemplate/Template/main.cpp +++ b/windows/SalmonTemplate/Template/main.cpp @@ -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);