Add ability to configure horizontal field of view per window instead (#3584)

This commit is contained in:
Alexander Bock
2025-04-14 19:47:54 +02:00
committed by GitHub
parent 17279d2b4a
commit af20b97dc7
5 changed files with 88 additions and 22 deletions

View File

@@ -204,7 +204,15 @@ private:
properties::IntProperty _framerateLimit;
std::chrono::high_resolution_clock::time_point _lastFrameTime;
properties::FloatProperty _horizFieldOfView;
struct Window : properties::PropertyOwner {
Window(PropertyOwnerInfo info, int id);
properties::FloatProperty horizFieldOfView;
};
properties::PropertyOwner _windowing;
std::vector<std::unique_ptr<Window>> _windows;
properties::Vec3Property _globalRotation;
properties::Vec3Property _screenSpaceRotation;