Swap args of Plane(point, normal) constructor

Now (normal, point)
This commit is contained in:
mennomax
2021-10-15 20:49:42 -05:00
committed by Aaron Franke
parent 96410f55b2
commit b4eeeb315a
20 changed files with 88 additions and 77 deletions
@@ -112,7 +112,7 @@ EditorPlugin::AfterGUIInput CollisionPolygon3DEditor::forward_spatial_gui_input(
Transform3D gi = gt.affine_inverse();
float depth = _get_depth() * 0.5;
Vector3 n = gt.basis.get_axis(2).normalized();
Plane p(gt.origin + n * depth, n);
Plane p(n, gt.origin + n * depth);
Ref<InputEventMouseButton> mb = p_event;