Files
iChris4 3c20f677eb Implement Bullet Bill model visibility and cockpit recentering improvements
- Added support for hiding model arrays in the rendering pipeline to optimize performance during VR gameplay.
- Introduced new functions in `gx_model_visibility` to manage hidden model arrays and their visibility based on game state.
- Enhanced cockpit recentering logic to ensure accurate seat measurements and eye positioning during gameplay.
- Updated `FirstPersonState` to track cockpit height and forward direction, improving VR experience.
- Added tests for Bullet Bill model visibility and cockpit height adjustments to ensure functionality and stability.
- Refactored existing code to accommodate new features and improve overall code organization.
2026-09-28 23:21:01 +02:00

13 lines
493 B
C++

// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <cstdint>
namespace GxModelVisibility {
// Game thread. These requests are ordered with the frame's GX commands.
void PostClear();
// Hide rigid draws using this array and this instance's model-view matrix.
// Shared models at other transforms and indexed joints are kept visible.
bool PostHiddenArray(uint32_t guestArray, uint32_t size, const float modelView[12]);
uint32_t LastDrawCount();
} // namespace GxModelVisibility