You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
Fix typo bug in convex-convex separating axis test
(cherry picked from commit d7aed57b60)
This commit is contained in:
committed by
Yuri Sizov
parent
4616de0c5d
commit
deb22e2381
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user