diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 21:18:47 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 21:18:47 +0200 |
| commit | 00bf9a8cce28ab1dbc77ba24428be12391c4a576 (patch) | |
| tree | 918231699cdbd7f261148f23a9717e34302074b9 /src/platform/vulkan/vulkan_renderer.h | |
| parent | ca9b8beaf69f06cac9b91b66ccd03bb99f09dd22 (diff) | |
[chore]: port camera to vulkan
Diffstat (limited to 'src/platform/vulkan/vulkan_renderer.h')
| -rw-r--r-- | src/platform/vulkan/vulkan_renderer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platform/vulkan/vulkan_renderer.h b/src/platform/vulkan/vulkan_renderer.h index 68a1602..0e643c1 100644 --- a/src/platform/vulkan/vulkan_renderer.h +++ b/src/platform/vulkan/vulkan_renderer.h @@ -42,6 +42,11 @@ namespace Donut // Filesystem path of the HDRI currently backing the cubemap. auto current_hdri() const -> const std::string&; + // Free-fly (WASD + mouse-look) camera vs the default orbital camera. + // Enabling seeds the fly pose from the current orbital framing (no jump). + auto set_free_fly(bool enabled) -> void; + auto is_free_fly() const -> bool; + private: struct Impl; Impl* m_impl = nullptr; |
