gtk/testsuite/gsk/compare/z-transform-clipping-bounds-3d.node
Benjamin Otte fde3d2cd50 testsuite: Add testcase for z clipping
the near and far clipping plane are at -10000 and 10000 respectively.
Test that the renderers respect that.
2023-05-16 18:53:27 +02:00

29 lines
496 B
Plaintext

transform {
transform: translate3d(0, 0, -10000);
child: color {
bounds: 0 0 50 50;
color: rgb(255,0,0);
}
}
transform {
transform: translate3d(0, 0, -10001);
child: color {
bounds: 50 0 50 50;
color: rgb(255,255,0);
}
}
transform {
transform: translate3d(0, 0, 10000);
child: color {
bounds: 0 50 50 50;
color: rgb(0,255,0);
}
}
transform {
transform: translate3d(0, 0, 10001);
child: color {
bounds: 50 50 50 50;
color: rgb(0,0,255);
}
}