Merge branch 'main' into 'main'

Revert "Use gsk_matrix_transform_point3d consistently"

Closes #5902

See merge request GNOME/gtk!6112
This commit is contained in:
Matthias Clasen 2023-06-18 13:19:07 +00:00
commit c3904e8a27

View File

@ -10234,8 +10234,8 @@ gtk_widget_do_pick (GtkWidget *widget,
gsk_transform_unref (transform);
graphene_point3d_init (&p0, x, y, 0);
graphene_point3d_init (&p1, x, y, 1);
gsk_matrix_transform_point3d (&inv, &p0, &p0);
gsk_matrix_transform_point3d (&inv, &p1, &p1);
graphene_matrix_transform_point3d (&inv, &p0, &p0);
graphene_matrix_transform_point3d (&inv, &p1, &p1);
if (fabs (p0.z - p1.z) < 1.f / 4096)
continue;