From f0ad32476e373b5d44578df0dc75bcd31a860b6d Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Wed, 14 Jan 2026 11:08:27 +0300 Subject: [PATCH] some move --- src/Environment.cpp | 2 +- src/Game.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Environment.cpp b/src/Environment.cpp index 59beaf0..fa51e95 100644 --- a/src/Environment.cpp +++ b/src/Environment.cpp @@ -13,7 +13,7 @@ namespace ZL { int Environment::windowHeaderHeight = 0; int Environment::width = 0; int Environment::height = 0; -float Environment::zoom = 18.f; +float Environment::zoom = 30.f; bool Environment::leftPressed = false; bool Environment::rightPressed = false; diff --git a/src/Game.cpp b/src/Game.cpp index 5e4b6f1..13e76dd 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -318,9 +318,11 @@ namespace ZL spaceshipBase = LoadFromTextFile02("resources/spaceshipnew001.txt", CONST_ZIP_FILE); spaceshipBase.RotateByMatrix(Eigen::Quaternionf(Eigen::AngleAxisf(M_PI, Eigen::Vector3f::UnitY())).toRotationMatrix());// QuatFromRotateAroundY(M_PI / 2.0).toRotationMatrix()); - + spaceshipBase.Move(Vector3f{ 1.2, 0, -5 }); //spaceshipBase.Move(Vector3f{ -0.52998, -13, 0 }); //spaceshipBase.Move(Vector3f{ -0.52998, -10, 10 }); + //spaceshipBase.Move(Vector3f{ -0.52998, 0, 10 }); + spaceship.AssignFrom(spaceshipBase); spaceship.RefreshVBO();