inexorgame / vulkan-renderer

A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
https://inexor.org
MIT License
790 stars 34 forks source link

Resizing window causes camera position to reset #411

Open westernheld opened 3 years ago

westernheld commented 3 years ago

Describe the bug Resizing window causes camera position to reset.

To Reproduce Steps to reproduce the behavior:

  1. Move around
  2. Resize window
  3. Get reset to starting position

Expected behavior Don't affect the camera position by resizing the window.

IAmNotHanni commented 3 years ago

I think you're right about this. That should not cause a reset of camera position.

yeetari commented 3 years ago

Resizing the window in general causes a lot of problems since we basically recreate everything.