Style: Apply new clang-format changes

This commit is contained in:
Thaddeus Crews
2024-06-26 11:13:05 -05:00
parent 72c183ce8b
commit b37fc1014a
51 changed files with 150 additions and 148 deletions

View File

@ -32,7 +32,7 @@
#include "core/input/input.h"
void XRControllerTracker::_bind_methods(){};
void XRControllerTracker::_bind_methods() {}
XRControllerTracker::XRControllerTracker() {
type = XRServer::TRACKER_CONTROLLER;

View File

@ -137,10 +137,10 @@ public:
virtual RID get_color_texture(); /* obtain color output texture (if applicable) */
virtual RID get_depth_texture(); /* obtain depth output texture (if applicable, used for reprojection) */
virtual RID get_velocity_texture(); /* obtain velocity output texture (if applicable, used for spacewarp) */
virtual void pre_render(){};
virtual void pre_render() {}
virtual bool pre_draw_viewport(RID p_render_target) { return true; }; /* inform XR interface we are about to start our viewport draw process */
virtual Vector<BlitToScreen> post_draw_viewport(RID p_render_target, const Rect2 &p_screen_rect) = 0; /* inform XR interface we finished our viewport draw process */
virtual void end_frame(){};
virtual void end_frame() {}
/** passthrough **/