diff options
author | Raul Santos <raulsntos@gmail.com> | 2023-01-15 16:51:43 +0100 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2023-01-15 17:18:50 +0100 |
commit | 7560340ef61bf4f2bf67dc3f8b1415dfeeb8e485 (patch) | |
tree | 9967c8b484cf6fdb8dd7cbbbaf0420f9497c4ce5 /servers/rendering/renderer_scene_render.cpp | |
parent | 9711abe78773426644b640d6052273203931555e (diff) |
Rename `center` method to `get_center` in Plane.
Diffstat (limited to 'servers/rendering/renderer_scene_render.cpp')
-rw-r--r-- | servers/rendering/renderer_scene_render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_scene_render.cpp b/servers/rendering/renderer_scene_render.cpp index e2e6ea5aa2..a389e3e767 100644 --- a/servers/rendering/renderer_scene_render.cpp +++ b/servers/rendering/renderer_scene_render.cpp @@ -84,7 +84,7 @@ void RendererSceneRender::CameraData::set_multiview_camera(uint32_t p_view_count Transform3D main_transform_inv = main_transform.inverse(); // 5. figure out far plane, this could use some improvement, we may have our far plane too close like this, not sure if this matters - Vector3 far_center = (planes[0][Projection::PLANE_FAR].center() + planes[1][Projection::PLANE_FAR].center()) * 0.5; + Vector3 far_center = (planes[0][Projection::PLANE_FAR].get_center() + planes[1][Projection::PLANE_FAR].get_center()) * 0.5; Plane far(-z, far_center); ///////////////////////////////////////////////////////////////////////////// |