Working on taxi logic

This commit is contained in:
Vladislav Khorev committed 2026-06-09 14:06:43 +03:00
1 parent 77c8471636
commit b94f02bd77
10 files changed
+95 -15

No files matched your search

+3
View File
@@ -17,8 +17,11 @@ struct TeleportZone {
Eigen::Vector3f destinationPosition = Eigen::Vector3f::Zero();
float destinationRotationY = 0.0f;
std::unique_ptr<SparkEmitter> sparks;
std::shared_ptr<Texture> activeTexture;
std::shared_ptr<Texture> inactiveTexture;
void initSparks(std::shared_ptr<Texture> activeTex, std::shared_ptr<Texture> inactiveTex);
void setActive(bool isActive);
void update(float deltaMs);
void prepareForDraw(const Eigen::Matrix4f& viewMatrix);
void draw(Renderer& renderer, float zoom, int width, int height);