diff options
author | Marcus Elg <marcusaccounts@yahoo.se> | 2020-05-10 09:00:10 +0200 |
---|---|---|
committer | Marcus Elg <marcusaccounts@yahoo.se> | 2020-05-10 12:12:51 +0200 |
commit | ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3 (patch) | |
tree | bd054639c909ab4ea6c855e70ddc3b25ee2f50b0 /editor/plugins/node_3d_editor_plugin.cpp | |
parent | ff5dfcdf68c20590bf123ade75ca06ed58276372 (diff) | |
download | redot-engine-ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3.tar.gz |
Renamed plane's d to distance
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 457a0aaa36..7e65dd1c78 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -682,11 +682,11 @@ void Node3DEditorViewport::_select_region() { } Plane near(cam_pos, -_get_camera_normal()); - near.d -= get_znear(); + near.distance -= get_znear(); frustum.push_back(near); Plane far = -near; - far.d += get_zfar(); + far.distance += get_zfar(); frustum.push_back(far); Vector<ObjectID> instances = RenderingServer::get_singleton()->instances_cull_convex(frustum, get_tree()->get_root()->get_world_3d()->get_scenario()); |