21 lines
609 B
C++
21 lines
609 B
C++
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#include "Host/GraphicsAppManager.hpp"
|
|
#include "ExampleApps/CubesExampleApp.hpp"
|
|
#include "ExampleApps/MovingCubeApp.hpp"
|
|
|
|
using namespace OpenVulkano;
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
// std::unique_ptr<IGraphicsApp> app = CubesExampleApp::CreateUnique();
|
|
std::unique_ptr<IGraphicsApp> app = MovingCubeApp::CreateUnique();
|
|
GraphicsAppManager manager(app.get());
|
|
manager.Run();
|
|
return 0;
|
|
}
|