Merge pull request #75835 from rburing/fix_convex_convex_axis_test

Fix typo bug in convex-convex separating axis test
This commit is contained in:
Yuri Sizov 2023-04-10 12:37:00 +02:00 committed by GitHub
commit 040330c63c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2065,7 +2065,7 @@ static void _collision_convex_polygon_convex_polygon(const GodotShape3D *p_a, co
int vertex_count_B = mesh_B.vertices.size();
// Precalculating this makes the transforms faster.
Basis a_xform_normal = p_transform_b.basis.inverse().transposed();
Basis a_xform_normal = p_transform_a.basis.inverse().transposed();
// faces of A
for (int i = 0; i < face_count_A; i++) {