You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Swap args of Plane(point, normal) constructor
Now (normal, point)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user