🎨 Palette: Add 'Reset Camera' shortcut (R)#106
Conversation
- Implemented Camera::reset() to restore initial position and orientation - Added 'R' key handler in main.cpp - Clears accumulation buffer and resets mouse state on camera reset - Updates window title with feedback - Fixed duplicate variable declaration in src/main.cpp to fix build Co-authored-by: TECHNICANGEL <197574689+TECHNICANGEL@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What: Added a "Reset Camera" feature triggered by the 'R' key.
🎯 Why: Users can easily get lost or disoriented in 3D space. This provides a quick way to return to the initial view.
📸 Before/After: N/A (Functional change, visible in window title)
♿ Accessibility: Reduces cognitive load and frustration for users navigating complex 3D scenes.
Implementation Details:
Cameraclass to store initial state (position, yaw, pitch, FOV).Camera::reset()method.RacingEngine::keyCallbackinmain.cppto handle 'R' key.src/main.cpp.PR created automatically by Jules for task 17260256978977837176 started by @TECHNICANGEL