From 079ca220e14669ef7c31c399985cd2c733af15bd Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 12 Aug 2020 22:21:01 -0300 Subject: Added volumetric fog effect. --- core/math/camera_matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/math/camera_matrix.h') diff --git a/core/math/camera_matrix.h b/core/math/camera_matrix.h index 49fdecae02..c5cdd98377 100644 --- a/core/math/camera_matrix.h +++ b/core/math/camera_matrix.h @@ -74,7 +74,7 @@ struct CameraMatrix { bool get_endpoints(const Transform &p_transform, Vector3 *p_8points) const; Vector2 get_viewport_half_extents() const; - void get_far_plane_size(real_t &r_width, real_t &r_height) const; + Vector2 get_far_plane_half_extents() const; void invert(); CameraMatrix inverse() const; -- cgit v1.2.3