summaryrefslogtreecommitdiff
path: root/core/math/camera_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/camera_matrix.h')
-rw-r--r--core/math/camera_matrix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/camera_matrix.h b/core/math/camera_matrix.h
index 2a25109367..b5c75ca562 100644
--- a/core/math/camera_matrix.h
+++ b/core/math/camera_matrix.h
@@ -50,7 +50,7 @@ struct CameraMatrix {
void set_identity();
void set_zero();
void set_light_bias();
- void set_depth_correction();
+ void set_depth_correction(bool p_flip_y = true);
void set_light_atlas_rect(const Rect2 &p_rect);
void set_perspective(real_t p_fovy_degrees, real_t p_aspect, real_t p_z_near, real_t p_z_far, bool p_flip_fov = false);
void set_perspective(real_t p_fovy_degrees, real_t p_aspect, real_t p_z_near, real_t p_z_far, bool p_flip_fov, int p_eye, real_t p_intraocular_dist, real_t p_convergence_dist);