Skip to content

feat(editor): harden and extend FlyCamera navigation - #795

Merged
JeanPhilippeKernel merged 5 commits into
developfrom
review/editor-camera
Sep 13, 2026
Merged

JeanPhilippeKernel merged 5 commits into
developfrom
review/editor-camera

Conversation

@JeanPhilippeKernel

@JeanPhilippeKernel JeanPhilippeKernel commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Eliminates FlyCamera yaw jitter around the zero crossing.
  • Uses standard trigonometric functions instead of a low-order custom approximation, keeping angle behavior correct across Linux, macOS, and Windows.
  • Keeps projection, aspect ratio, and cursor rays synchronized with docked and resized viewport extents.
  • Replaces the placeholder raycast with allocation-free scene-bounds queries for adaptive movement speed, orbit pivot/collision, frame selection, and frame all.
  • Adds semantic camera commands for perspective/orthographic projection, axis views, selection/all framing, and temporary numeric bookmarks.
  • Adds platform-aware macOS, Windows, and Linux shortcuts, including keypad and compact-keyboard fallbacks.
  • Hardens camera input ownership: text fields, popups, modals, pointer capture, and focus loss clear transient camera input; hierarchy selection no longer blocks viewport shortcuts.
  • Adds focused FlyCamera, controller, scene-query, ZUI input-capture, and InputManager regression tests.

Validation

  • cmake --build . --config Debug --target ZEngineTests Obelisk
  • 50 focused tests pass, including MathUtils full-turn and zero-crossing coverage.

Closes #780, #781, and #782.

Related follow-up: broader deterministic coverage.
Part of the navigation roadmap and production-camera tracker.

@JeanPhilippeKernel JeanPhilippeKernel self-assigned this Sep 13, 2026
@JeanPhilippeKernel JeanPhilippeKernel added Feature request New feature area-linux Work on Linux system area-window Work on Window system area-macOS Work on macOS system labels Sep 13, 2026
@JeanPhilippeKernel
JeanPhilippeKernel merged commit 19f2677 into develop Sep 13, 2026
17 checks passed
@JeanPhilippeKernel
JeanPhilippeKernel deleted the review/editor-camera branch September 13, 2026 15:05
@github-project-automation github-project-automation Bot moved this from In Progress to Done in ZEngine Board Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-linux Work on Linux system area-macOS Work on macOS system area-window Work on Window system Feature request New feature

Projects

Status: Done

1 participant