diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-26 21:24:28 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-26 21:24:28 -0400 |
commit | bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a (patch) | |
tree | aabc135163b7569f3c339a471479963ef7eabf2f /src/first_app.cpp | |
parent | vertex buffer is not a byte vector, multi texture loading (diff) | |
download | minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.tar.gz minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.tar.bz2 minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.zip |
window icon
Diffstat (limited to '')
-rwxr-xr-x | src/first_app.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/first_app.cpp b/src/first_app.cpp index 2319670..968f7f8 100755 --- a/src/first_app.cpp +++ b/src/first_app.cpp @@ -3,7 +3,7 @@ namespace app { -FirstApp::FirstApp() : xeEngine{WIDTH, HEIGHT, "Xenon Vulkan Engine"} {}; +FirstApp::FirstApp() : xeEngine{WIDTH, HEIGHT, "Minecraft Vulkan", "res/image/icon.png"} {}; FirstApp::~FirstApp() {} @@ -20,7 +20,7 @@ void FirstApp::run() { sound.play(); auto viewerObject = xe::GameObject::createGameObject(); - viewerObject.transform.translation = {-7.f, 3.f, -7.f}; + viewerObject.transform.translation = {0.f, 10.f, 0.f}; viewerObject.transform.rotation.y = glm::radians(45.f); KeyboardMovementController cameraController{xeEngine.getInput(), viewerObject}; |