mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
commit
c3904e8a27
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user