Commit 5daeb456 authored by Vanessa Karolek's avatar Vanessa Karolek
Browse files

[#42] add trackballcamera in main.cpp for demonstration

parent 1f303325
......@@ -20,6 +20,7 @@ int main(int argc, const char** argv) {
vkcv::CameraManager cameraManager(window, windowWidth, windowHeight);
uint32_t camIndex = cameraManager.addCamera(vkcv::ControllerType::PILOT);
uint32_t camIndex2 = cameraManager.addCamera(vkcv::ControllerType::TRACKBALL);
window.initEvents();
......
......@@ -164,6 +164,7 @@ int main(int argc, const char** argv) {
vkcv::CameraManager cameraManager(window, windowWidth, windowHeight);
uint32_t camIndex = cameraManager.addCamera(vkcv::ControllerType::PILOT);
uint32_t camIndex2 = cameraManager.addCamera(vkcv::ControllerType::TRACKBALL);
while (window.isWindowOpen())
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment