summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authormennomax <mennomax@outlook.de>2021-04-08 16:26:14 +0200
committerAaron Franke <arnfranke@yahoo.com>2021-10-15 20:49:42 -0500
commitb4eeeb315a74682d299c7ec1555ce06a9dc2641a (patch)
tree4efb789ff3d5673c38dc439eb91127870183f392 /scene
parent96410f55b24e47af045e3ad31545331ce124d999 (diff)
Swap args of Plane(point, normal) constructor
Now (normal, point)
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/xr_nodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/xr_nodes.cpp b/scene/3d/xr_nodes.cpp
index ebfb58e9fe..56edf100f6 100644
--- a/scene/3d/xr_nodes.cpp
+++ b/scene/3d/xr_nodes.cpp
@@ -499,7 +499,7 @@ Plane XRAnchor3D::get_plane() const {
Vector3 location = get_position();
Basis orientation = get_transform().basis;
- Plane plane(location, orientation.get_axis(1).normalized());
+ Plane plane(orientation.get_axis(1).normalized(), location);
return plane;
};