diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-11-10 00:12:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-11-10 00:17:26 +0100 |
commit | 6c557b8bdfc0f9b9080fa40b72c891bbca11679f (patch) | |
tree | 0ab448623696b02f3530b1f9acf40251ad907e9f /scene/3d/proximity_group.h | |
parent | 94f00eb6c5323dff933a4985b60e8ebf9391f940 (diff) |
Camera: Don't set default value for project_position
A z_depth of 0 returns the camera position, which is not really useful.
This also makes the API breakage from 3.1 clearer as 3.1 code will now
fail to compile, so users will have to adapt and use the new parameter.
For the reference, in 3.1, the z_depth was hardcoded to the near plane.
Closes #33493.
Diffstat (limited to 'scene/3d/proximity_group.h')
0 files changed, 0 insertions, 0 deletions